|
1 /* |
|
2 * Copyright (c) 2006 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: Interface for Process Manager |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef MCAPROCESSMANAGER_H |
|
20 #define MCAPROCESSMANAGER_H |
|
21 |
|
22 //INCLUDES |
|
23 #include <e32base.h> |
|
24 |
|
25 //FORWARD DECLARATION |
|
26 class MCAMainViewArrayPC; |
|
27 class MCALoginPC; |
|
28 class MCASettingsPC; |
|
29 class CCAEngine; |
|
30 class MCAConversationPC; |
|
31 class MCAContactEditPC; |
|
32 class MCABlockingPC; |
|
33 class MCASearchDataPC; |
|
34 class MCASearchInterfacePC; |
|
35 class MCAContactSelectionPC; |
|
36 class MCAReactiveAuthPC; |
|
37 class MCARecordedChatsPC; |
|
38 class MCARecordedChatsArrayPC; |
|
39 class MCAMessageFlowHandlerPC; |
|
40 class MCAInvitationPC; |
|
41 class MCAGroupPC; |
|
42 class MCAGroupUtilsPC; |
|
43 class MCAInviteEditorPC; |
|
44 class MCAGlobalNotificationObserverPC; |
|
45 class MCAOpenChatsPC; |
|
46 class MCAGroupPropertiesPC; |
|
47 class MCAApplicationNGPC; |
|
48 class MCAArrayItemPC; |
|
49 //CLASS DECLARATION |
|
50 |
|
51 class MCAProcessManager |
|
52 { |
|
53 |
|
54 public: |
|
55 |
|
56 /** |
|
57 * Get Array interface. |
|
58 * @return Pointer to the Array interface. |
|
59 */ |
|
60 virtual MCAMainViewArrayPC* GetArrayInterface() const = 0; |
|
61 |
|
62 /** |
|
63 * Get Login interface. |
|
64 * @return Pointer to the Login interface. |
|
65 */ |
|
66 |
|
67 virtual MCALoginPC* GetLogInInterface() const = 0; |
|
68 |
|
69 /** |
|
70 * Get Settings interface. |
|
71 * @return Pointer to the Settings interface. |
|
72 */ |
|
73 |
|
74 virtual MCASettingsPC* GetSettingsInterface() const = 0; |
|
75 |
|
76 /** |
|
77 * Get Blockings interface. |
|
78 * @return Pointer to the Blockings interface. |
|
79 */ |
|
80 |
|
81 virtual MCABlockingPC* GetBlockingInterface( ) const = 0; |
|
82 |
|
83 /** |
|
84 * Get Invitations interface. |
|
85 * @return Reference to the Invitations interface. |
|
86 */ |
|
87 virtual MCAInvitationPC* GetInvitationsInterface( ) const = 0; |
|
88 |
|
89 /** |
|
90 * Get Array interface. |
|
91 * @return Pointer to the Array interface. |
|
92 */ |
|
93 |
|
94 virtual void FinalizeEngineConstructionL() = 0; |
|
95 |
|
96 /** |
|
97 * @return Pointer to Engine |
|
98 */ |
|
99 |
|
100 virtual CCAEngine* GetEngine() const = 0; |
|
101 |
|
102 |
|
103 /** |
|
104 * Get Open Chats Interface. |
|
105 * @return Pointer to the MCAOpenChatsPC |
|
106 */ |
|
107 virtual MCAOpenChatsPC* CreateOpenChatsPCL( |
|
108 const RPointerArray<MCAArrayItemPC>& aOpenChatsArray ) = 0; |
|
109 |
|
110 |
|
111 /** |
|
112 * Get Conversation interface. |
|
113 * @return Pointer to the Conversation interface. |
|
114 */ |
|
115 |
|
116 virtual MCAConversationPC* GetConversationInterface() const = 0 ; |
|
117 |
|
118 /** |
|
119 * Get ContactEdit interface. |
|
120 * @return Pointer to the ContactEdit interface. |
|
121 */ |
|
122 |
|
123 virtual MCAContactEditPC* GetContactEditInterface() const = 0; |
|
124 |
|
125 |
|
126 /** |
|
127 * Get the SearchData interface. |
|
128 * return the Pointer to the SearchData interface. |
|
129 */ |
|
130 |
|
131 virtual MCASearchDataPC* GetSearchDataInterface() const = 0; |
|
132 |
|
133 /** |
|
134 * Get the SearchInterface. |
|
135 * return the Pointer to the SearchInterface. |
|
136 */ |
|
137 |
|
138 virtual MCASearchInterfacePC* GetSearchInterface() const = 0; |
|
139 |
|
140 /** |
|
141 * Get the Reactive Auth. Interface |
|
142 * return the Pointer to the Reactive Auth. Interface |
|
143 */ |
|
144 |
|
145 virtual MCAReactiveAuthPC* GetReactiveAuthInterface() const = 0; |
|
146 /** |
|
147 * Get the MCARecordedChatsPC from the PC |
|
148 * Return the ponter to the MCARecordedChatsPC |
|
149 */ |
|
150 virtual MCARecordedChatsPC* GetRecordedChatsPC() const = 0; |
|
151 |
|
152 /** |
|
153 * Get the MCARecordedChatsArrayPC from the PC |
|
154 * Return the ponter to the MCARecordedChatsArrayPC |
|
155 */ |
|
156 virtual MCARecordedChatsArrayPC* GetRecordedChatsArrayPC() const = 0; |
|
157 |
|
158 /** |
|
159 * Get the GroupInterface. |
|
160 * return the Pointer to the GroupInterface. |
|
161 */ |
|
162 |
|
163 virtual MCAGroupPC* GetGroupInterface() const = 0; |
|
164 |
|
165 virtual MCAGroupUtilsPC* GetGroupUtilsInterface( ) const = 0; |
|
166 |
|
167 /** |
|
168 * Get the InviteEditorInterface |
|
169 * Ownership is passed to the caller. |
|
170 * return the Pointer to the InviteEditorInterface. |
|
171 */ |
|
172 |
|
173 virtual MCAInviteEditorPC* CreateInviteEditorPCL() = 0; |
|
174 |
|
175 /** |
|
176 * Pointer to the global notification process component |
|
177 * This registers for all the global events on contacts.contact lists, |
|
178 * invites, groups etc. Currently used by app ui |
|
179 */ |
|
180 virtual MCAGlobalNotificationObserverPC* GetGlobalNotificationInterface() const = 0; |
|
181 |
|
182 /** |
|
183 * Pointer to the group properties process component |
|
184 */ |
|
185 virtual MCAGroupPropertiesPC* GetGroupPropertiesPC() const = 0; |
|
186 |
|
187 /** |
|
188 * Pointer to the ApplicationNG process component used by appui |
|
189 */ |
|
190 virtual MCAApplicationNGPC* GetApplicationNGPC() const = 0; |
|
191 |
|
192 /** |
|
193 * Destructor |
|
194 */ |
|
195 virtual ~MCAProcessManager() {}; |
|
196 |
|
197 }; |
|
198 |
|
199 #endif //MCAPROCESSMANAGER_H |
|
200 |
|
201 //End of File |