summaryrefslogtreecommitdiffstats
path: root/mojo/system/entrypoints.h
blob: 65a03631e6a5867712f5382bb41dd46c9905ec23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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_SYSTEM_ENTRYPOINTS_H
#define MOJO_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_SYSTEM_ENTRYPOINTS_H