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