|
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: ExtensionPluginInterface |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef EXTENSIONPLUGININTERFACE_H |
|
19 #define EXTENSIONPLUGININTERFACE_H |
|
20 |
|
21 namespace java |
|
22 { |
|
23 |
|
24 namespace comms |
|
25 { |
|
26 class CommsListener; |
|
27 } // namespace comms |
|
28 |
|
29 namespace captain |
|
30 { |
|
31 |
|
32 class CoreInterface; |
|
33 class EventConsumerInterface; |
|
34 class ApplicationManagementEventsInterface; |
|
35 class ApplicationRuntimeEventsInterface; |
|
36 class ProcessManagementEventsInterface; |
|
37 |
|
38 class ExtensionPluginInterface |
|
39 { |
|
40 public: |
|
41 virtual ~ExtensionPluginInterface() {}; |
|
42 |
|
43 virtual void startPlugin(CoreInterface* /* aCore*/) {} |
|
44 |
|
45 virtual EventConsumerInterface* getEventConsumer() |
|
46 { |
|
47 return (EventConsumerInterface*)0; |
|
48 } |
|
49 virtual ApplicationManagementEventsInterface* getApplicationManagementListener() |
|
50 { |
|
51 return (ApplicationManagementEventsInterface*)0; |
|
52 } |
|
53 virtual ApplicationRuntimeEventsInterface* getApplicationRuntimeListener() |
|
54 { |
|
55 return (ApplicationRuntimeEventsInterface*)0; |
|
56 } |
|
57 virtual ProcessManagementEventsInterface* getProcessManagementListener() |
|
58 { |
|
59 return (ProcessManagementEventsInterface*)0; |
|
60 } |
|
61 virtual java::comms::CommsListener* getCommsListener() |
|
62 { |
|
63 return (java::comms::CommsListener*)0; |
|
64 } |
|
65 |
|
66 virtual void stopPlugin() {} |
|
67 }; |
|
68 |
|
69 } // namespace captain |
|
70 } // namespace java |
|
71 |
|
72 #endif // EXTENSIONPLUGININTERFACE_H |
|
73 |