| Index: mojo/edk/system/entrypoints.h
|
| diff --git a/mojo/edk/system/entrypoints.h b/mojo/edk/system/entrypoints.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..46c41b4b821fcf70fbe534551e8db538d974869a
|
| --- /dev/null
|
| +++ b/mojo/edk/system/entrypoints.h
|
| @@ -0,0 +1,24 @@
|
| +// Copyright 2014 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef MOJO_EDK_SYSTEM_ENTRYPOINTS_H_
|
| +#define MOJO_EDK_SYSTEM_ENTRYPOINTS_H_
|
| +
|
| +namespace mojo {
|
| +namespace system {
|
| +
|
| +class Core;
|
| +
|
| +namespace entrypoints {
|
| +
|
| +// Sets the instance of Core to be used by system functions.
|
| +void SetCore(Core* core);
|
| +// Gets the instance of Core to be used by system functions.
|
| +Core* GetCore();
|
| +
|
| +} // namespace entrypoints
|
| +} // namepace system
|
| +} // namespace mojo
|
| +
|
| +#endif // MOJO_EDK_SYSTEM_ENTRYPOINTS_H_
|
|
|