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_SYSTEM_ENTRYPOINTS_H 6#define MOJO_SYSTEM_ENTRYPOINTS_H 7 8namespace mojo { 9namespace system { 10 11class Core; 12 13namespace entrypoints { 14 15// Sets the instance of Core to be used by system functions. 16void SetCore(Core* core); 17// Gets the instance of Core to be used by system functions. 18Core* GetCore(); 19 20} // namespace entrypoints 21} // namepace system 22} // namespace mojo 23 24#endif // MOJO_SYSTEM_ENTRYPOINTS_H 25