OLD | NEW |
| (Empty) |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef MOJO_EDK_SYSTEM_ENTRYPOINTS_H_ | |
6 #define MOJO_EDK_SYSTEM_ENTRYPOINTS_H_ | |
7 | |
8 namespace mojo { | |
9 namespace system { | |
10 | |
11 class Core; | |
12 | |
13 namespace entrypoints { | |
14 | |
15 // Sets the instance of Core to be used by system functions. | |
16 void SetCore(Core* core); | |
17 // Gets the instance of Core to be used by system functions. | |
18 Core* GetCore(); | |
19 | |
20 } // namespace entrypoints | |
21 } // namepace system | |
22 } // namespace mojo | |
23 | |
24 #endif // MOJO_EDK_SYSTEM_ENTRYPOINTS_H_ | |
OLD | NEW |