|
1 /* |
|
2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: CoreInterface |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef COREINTERFACE_H |
|
19 #define COREINTERFACE_H |
|
20 |
|
21 #include <string> |
|
22 |
|
23 namespace java |
|
24 { |
|
25 |
|
26 namespace comms |
|
27 { |
|
28 class CommsEndpoint; |
|
29 } |
|
30 |
|
31 namespace captain |
|
32 { |
|
33 |
|
34 class TimerServerInterface; |
|
35 class RtcInterface; |
|
36 class PmcInterface; |
|
37 class AmcInterface; |
|
38 class ExtensionPluginInterface; |
|
39 class EventProviderInterface; |
|
40 class EventConsumerInterface; |
|
41 |
|
42 class CoreInterface |
|
43 { |
|
44 public: |
|
45 virtual ~CoreInterface() {} |
|
46 |
|
47 virtual java::comms::CommsEndpoint* getComms() = 0; |
|
48 virtual TimerServerInterface* getTimerServer() = 0; |
|
49 virtual RtcInterface* getRtc() = 0; |
|
50 virtual PmcInterface* getPmc() = 0; |
|
51 virtual EventConsumerInterface* getEventDispatcher() = 0; |
|
52 |
|
53 // Experimental interfaces, do not use for production code yet |
|
54 virtual AmcInterface* getAmc() = 0; |
|
55 |
|
56 virtual ExtensionPluginInterface* loadExtensionPlugin(const std::string& aExtensionPluginName) = 0; |
|
57 virtual void unloadExtensionPlugin(const std::string& aExtensionPluginName) = 0; |
|
58 }; |
|
59 |
|
60 } // namespace captain |
|
61 } // namespace java |
|
62 |
|
63 #endif // COREINTERFACE_H |