|
1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 @released |
|
20 */ |
|
21 |
|
22 |
|
23 #include <bacline.h> |
|
24 #include "CCntServer.h" |
|
25 #include "CCntSession.h" |
|
26 #include "CCntDbManagerController.h" |
|
27 #include "CCntPackager.h" |
|
28 #include "CCntIpcCodes.h" |
|
29 #include "CCntLogger.h" |
|
30 #include "CCntMsgHandler.h" |
|
31 #include "CCntItemMsgHandler.h" |
|
32 #include "CCntEventMsgHandler.h" |
|
33 #include "CCntTransactionMsgHandler.h" |
|
34 #include "CCntFileManagerMsgHandler.h" |
|
35 #include "CCntPropertiesMsgHandler.h" |
|
36 #include "CCntViewMsgHandler.h" |
|
37 |
|
38 // Contacts server name. |
|
39 _LIT(KCntServerName,"CNTSRV"); |
|
40 |
|
41 |
|
42 #define KPolicyElementReadUserData 0 |
|
43 #define KPolicyElementWriteUserData 1 |
|
44 |
|
45 |
|
46 const TUint KRangeCount = 4; |
|
47 |
|
48 |
|
49 // Categorized opcodes for checking. |
|
50 const TInt KOpCodeRanges[KRangeCount] = |
|
51 { |
|
52 KCapabilityNone, |
|
53 KCapabilityReadUserData, |
|
54 KCapabilityWriteUserData, |
|
55 ELockSrvNotSupported |
|
56 }; |
|
57 |
|
58 |
|
59 // Define the policy that is to be performed on opcode in the ranges defined |
|
60 // above. |
|
61 const TUint8 KElementsIndex[KRangeCount] = |
|
62 { |
|
63 CPolicyServer::EAlwaysPass, |
|
64 KPolicyElementReadUserData, |
|
65 KPolicyElementWriteUserData, |
|
66 CPolicyServer::ENotSupported |
|
67 }; |
|
68 |
|
69 |
|
70 // Define the action to take for specific capabilites if defined policy check |
|
71 // fails. |
|
72 const CPolicyServer::TPolicyElement KPolicyElements[] = |
|
73 { |
|
74 {_INIT_SECURITY_POLICY_C1(ECapabilityReadUserData), CPolicyServer::EFailClient}, // KPolicyElementReadUserData |
|
75 {_INIT_SECURITY_POLICY_C1(ECapabilityWriteUserData), CPolicyServer::EFailClient} // KPolicyElementWriteUserData |
|
76 }; |
|
77 |
|
78 |
|
79 // Define the TPolicy object that is used by CPolicyServer. |
|
80 const CPolicyServer::TPolicy KCntServerPolicy = |
|
81 { |
|
82 CPolicyServer::EAlwaysPass, // Specifies all connect attempts should pass. |
|
83 KRangeCount, |
|
84 KOpCodeRanges, |
|
85 KElementsIndex, // What each range is compared to. |
|
86 KPolicyElements, // What policies range is compared to. |
|
87 }; |
|
88 |
|
89 |
|
90 CServerShutdown* CServerShutdown::NewL() |
|
91 { |
|
92 CServerShutdown* self = new(ELeave) CServerShutdown; |
|
93 CleanupStack::PushL(self); |
|
94 self->ConstructL(); |
|
95 CleanupStack::Pop(self); |
|
96 return self; |
|
97 } |
|
98 |
|
99 |
|
100 CServerShutdown::CServerShutdown() |
|
101 :CTimer(CActive::EPriorityIdle) |
|
102 { |
|
103 CActiveScheduler::Add(this); |
|
104 } |
|
105 |
|
106 |
|
107 void CServerShutdown::Start() |
|
108 { |
|
109 After(KServerShutdownDelay); |
|
110 } |
|
111 |
|
112 |
|
113 void CServerShutdown::ConstructL() |
|
114 { |
|
115 CTimer::ConstructL(); |
|
116 } |
|
117 |
|
118 |
|
119 void CServerShutdown::RunL() |
|
120 { |
|
121 CActiveScheduler::Stop(); |
|
122 } |
|
123 |
|
124 |
|
125 CCntServer* CCntServer::NewL() |
|
126 { |
|
127 CCntServer * server = new (ELeave) CCntServer(); |
|
128 CleanupStack::PushL(server); |
|
129 server->ConstructL(); |
|
130 |
|
131 #ifdef __VERBOSE_DEBUG__ |
|
132 #ifdef _DEBUG |
|
133 DEBUG_PRINT1(__VERBOSE_DEBUG__,_L("[CNTMODEL] Starting server in UDEB mode")); |
|
134 #else |
|
135 DEBUG_PRINT1(__VERBOSE_DEBUG__,_L("[CNTMODEL] Starting server in UREL mode")); |
|
136 #endif |
|
137 #endif |
|
138 CleanupStack::Pop(server); |
|
139 return server; |
|
140 } |
|
141 |
|
142 |
|
143 CCntServer::CCntServer() |
|
144 : CPolicyServer(KContactsServerPriority, KCntServerPolicy, ESharableSessions) |
|
145 { |
|
146 } |
|
147 |
|
148 |
|
149 CCntServer::~CCntServer() |
|
150 { |
|
151 delete iController; |
|
152 delete iPackager; |
|
153 delete iContainerIndex; |
|
154 delete iServerShutdown; |
|
155 |
|
156 // Cleanup RHashMap |
|
157 iMsgLut.Close(); |
|
158 } |
|
159 |
|
160 |
|
161 /** |
|
162 CSession2 calls this method to create subsession object container. |
|
163 */ |
|
164 CObjectCon* CCntServer::NewContainerL() |
|
165 { |
|
166 return iContainerIndex->CreateL(); |
|
167 } |
|
168 |
|
169 |
|
170 /** |
|
171 CSession2 calls this method to remove subsession object container. |
|
172 */ |
|
173 void CCntServer::RemoveObjectContainer(CObjectCon& aContainer) |
|
174 { |
|
175 iContainerIndex->Remove(&aContainer); |
|
176 } |
|
177 |
|
178 |
|
179 void CCntServer::ConstructL() |
|
180 { |
|
181 // Check the command line arguments to see if the server |
|
182 // should be started in non-transient mode. |
|
183 iServerType = ETransientServer; |
|
184 _LIT(KNonTransientServerArg, "-nontransient"); |
|
185 CCommandLineArguments* args = CCommandLineArguments::NewL(); |
|
186 CleanupStack::PushL(args); |
|
187 // The first arg is always the .exe name, so start at the next item. |
|
188 const TInt count = args->Count(); |
|
189 for (TInt i = 1; i < count; i++) |
|
190 { |
|
191 if (args->Arg(i).CompareF(KNonTransientServerArg) == 0) |
|
192 { |
|
193 iServerType = ENonTransientServer; |
|
194 } |
|
195 } |
|
196 CleanupStack::PopAndDestroy(args); |
|
197 |
|
198 // Initiate the session ID counter for used to identify each client session. |
|
199 iNextSessionId = 1; |
|
200 |
|
201 /** Create the lookup table which will map from message functions (op codes) to |
|
202 message handling methods. This will be a single instance of lookup table |
|
203 used across all sessions. |
|
204 */ |
|
205 CreateMessageMapL(); |
|
206 |
|
207 // Create the packager object used to unpack/pack messages from/to the |
|
208 // client. |
|
209 iPackager = CCntPackager::NewL(); |
|
210 |
|
211 // Create container for subsession objects. |
|
212 iContainerIndex=CObjectConIx::NewL(); |
|
213 |
|
214 // Create the one and only instance of the CCntDbManagerController used to |
|
215 // manage all open databases. |
|
216 iController = CCntDbManagerController::NewLC(iServerType); |
|
217 CleanupStack::Pop(iController); |
|
218 |
|
219 // Create Active Object which will close the server if no clients are |
|
220 // connected for 5 seconds. |
|
221 iServerShutdown = CServerShutdown::NewL(); |
|
222 |
|
223 // Base class call registers the server in the system. |
|
224 StartL(KCntServerName); |
|
225 } |
|
226 |
|
227 |
|
228 /** |
|
229 Create a new session on the server. Maps to the client-side Connect() method. |
|
230 The client can perform general database file control operations once Connect() |
|
231 has completed. |
|
232 */ |
|
233 CSession2* CCntServer::NewSessionL(const TVersion& /*aVersion*/,const RMessage2& /*aMessage*/) const |
|
234 { |
|
235 CCntSession* session = CCntSession::NewL(*iPackager, iNextSessionId); |
|
236 |
|
237 // New client session so increment session ID. |
|
238 iNextSessionId++; |
|
239 |
|
240 // At least one client connected so cancel server shutdown timer. |
|
241 iServerShutdown->Cancel(); |
|
242 |
|
243 return session; |
|
244 } |
|
245 |
|
246 |
|
247 /** |
|
248 For session access to public CCntDbManagerController methods. |
|
249 */ |
|
250 CCntDbManagerController& CCntServer::Controller() |
|
251 { |
|
252 return *iController; |
|
253 } |
|
254 |
|
255 |
|
256 /** |
|
257 If last client session is closing the server may close if no clients connect |
|
258 within 5 seconds however only start server shutdown time if the server is |
|
259 transient. |
|
260 */ |
|
261 void CCntServer::SessionClosing() |
|
262 { |
|
263 if (SessionCount() == 1 && (iServerType == ETransientServer)) |
|
264 { |
|
265 iServerShutdown->Start(); |
|
266 } |
|
267 |
|
268 // Freshen cntmodel.ini file if it was requested |
|
269 TRAP_IGNORE( iController->IniFileManager().SaveIniFileSettingsIfRequestedL()); |
|
270 } |
|
271 |
|
272 |
|
273 /** |
|
274 Returns the number of connected sessions to the server. |
|
275 */ |
|
276 TInt CCntServer::SessionCount() |
|
277 { |
|
278 iSessionIter.SetToFirst(); |
|
279 TInt count=0; |
|
280 while(iSessionIter++) |
|
281 { |
|
282 count++; |
|
283 } |
|
284 return(count); |
|
285 } |
|
286 |
|
287 /** |
|
288 Returns lookup table. |
|
289 */ |
|
290 RHashMap<TInt,MsgHandlerFptr>& CCntServer::MsgLut() |
|
291 { |
|
292 return iMsgLut; |
|
293 } |
|
294 |
|
295 /** |
|
296 Creates entries in message handler lookup tables. |
|
297 */ |
|
298 void CCntServer::CreateMessageMapL() |
|
299 { |
|
300 // CCntItemMsgHandler member function pointers |
|
301 iMsgLut.InsertL(ECntItemCreate, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::ItemCreateL)); |
|
302 iMsgLut.InsertL(ECntItemUpdate, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::ItemUpdateL)); |
|
303 iMsgLut.InsertL(ECntItemDelete, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::ItemDeleteL)); |
|
304 iMsgLut.InsertL(ECntItemRead, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::ItemReadL)); |
|
305 iMsgLut.InsertL(ECntItemCommit, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::ItemCommitL)); |
|
306 iMsgLut.InsertL(ECntItemOpen, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::ItemOpenL)); |
|
307 iMsgLut.InsertL(ECntItemClose, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::ItemCloseL)); |
|
308 |
|
309 iMsgLut.InsertL(ECntConnectionId, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::ConnectionId)); |
|
310 iMsgLut.InsertL(ECntGetCurrentItem, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::GetCurrentItemL)); |
|
311 iMsgLut.InsertL(ECntRemoveCurrentItem, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::RemoveCurrentItemL)); |
|
312 iMsgLut.InsertL(ECntSetCurrentItem, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::SetCurrentItemL)); |
|
313 |
|
314 iMsgLut.InsertL(ECntGetCurrentDb, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::GetCurrentDb)); |
|
315 iMsgLut.InsertL(ECntSetCurrentDb, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::SetCurrentDbL)); |
|
316 iMsgLut.InsertL(ECntGetSpeedDialContactIdAndPhoneNumber, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::GetSpeedDialContactIdAndPhoneNumberL)); |
|
317 iMsgLut.InsertL(ECntSetSpeedDialIdForPosition, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::SetSpeedDialIdForPositionL)); |
|
318 iMsgLut.InsertL(ECntSetOwnCard, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::SetOwnCardL)); |
|
319 iMsgLut.InsertL(ECntGetOwnCard, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::GetOwnCardL)); |
|
320 iMsgLut.InsertL(ECntGetCollection, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::GetCollectionL)); |
|
321 |
|
322 iMsgLut.InsertL(ECntSetSortPrefs, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::SetSortPrefsL)); |
|
323 iMsgLut.InsertL(ECntGetSortPrefs, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::GetSortPrefsL)); |
|
324 iMsgLut.InsertL(ECntSetDbViewContactType, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::SetDbViewContactTypeL)); |
|
325 iMsgLut.InsertL(ECntGetDbViewContactType, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::GetDbViewContactTypeL)); |
|
326 iMsgLut.InsertL(ECntDbContactCount, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::DbContactCountL)); |
|
327 iMsgLut.InsertL(ECntFindAsync, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::FindAsyncL)); |
|
328 iMsgLut.InsertL(ECntFindAsyncInit, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::FindAsyncInitL)); |
|
329 iMsgLut.InsertL(ECntFindAsyncTextDefInit, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::FindAsyncTextDefInitL)); |
|
330 iMsgLut.InsertL(ECntFind, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::FindL)); |
|
331 iMsgLut.InsertL(ECntFilterDatabase, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::FilterDatabaseL)); |
|
332 iMsgLut.InsertL(ECntSetAsyncActivity, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::SetAsyncActivityL)); |
|
333 iMsgLut.InsertL(ECntResourceCount, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::ResourceCount)); |
|
334 iMsgLut.InsertL(ECntSetHeapFailure, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::SetHeapFailure)); |
|
335 iMsgLut.InsertL(ECntSeekContactInCollection, static_cast<MsgHandlerFptr>(&CCntItemMsgHandler::SeekContactL)); |
|
336 |
|
337 // CCntEventMsgHandler member function pointers |
|
338 iMsgLut.InsertL(ECntRequestEvent, static_cast<MsgHandlerFptr>(&CCntEventMsgHandler::RequestEvent)); |
|
339 iMsgLut.InsertL(ECntCancelEventRequest, static_cast<MsgHandlerFptr>(&CCntEventMsgHandler::CancelEventRequest)); |
|
340 |
|
341 // CCntTransactionMsgHandler member function pointers |
|
342 iMsgLut.InsertL(EBeginDbTransaction, static_cast<MsgHandlerFptr>(&CCntTransactionMsgHandler::BeginDbTransactionL)); |
|
343 iMsgLut.InsertL(EEndDbTransaction, static_cast<MsgHandlerFptr>(&CCntTransactionMsgHandler::EndDbTransactionL)); |
|
344 iMsgLut.InsertL(ERollbackDbTransaction, static_cast<MsgHandlerFptr>(&CCntTransactionMsgHandler::RollbackDbTransactionL)); |
|
345 |
|
346 // CCntFileManagerMsgHandler member function pointers |
|
347 iMsgLut.InsertL(ECntOpenDataBase, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::OpenDataBaseL)); |
|
348 iMsgLut.InsertL(ECntCreateDatabase, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::CreateDatabaseL)); |
|
349 iMsgLut.InsertL(ECntReplaceDatabase, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::ReplaceDatabaseL)); |
|
350 iMsgLut.InsertL(ECntCancelAsyncOpenDatabase, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::CancelAsyncOpenDatabaseL)); |
|
351 iMsgLut.InsertL(ECntCloseDataBase, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::CloseDataBaseL)); |
|
352 iMsgLut.InsertL(ECntCloseDbTables, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::CloseDbTablesL)); |
|
353 iMsgLut.InsertL(ECntReOpenDbTables, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::ReOpenDbTablesL)); |
|
354 iMsgLut.InsertL(ECntDeleteDatabase, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::DeleteDatabaseL)); |
|
355 |
|
356 iMsgLut.InsertL(ECntGetDefaultDatabaseName, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::GetDefaultDatabaseNameL)); |
|
357 iMsgLut.InsertL(ECntDatabaseDrive, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::DatabaseDrive)); |
|
358 iMsgLut.InsertL(ECntSetDatabaseDrive, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::SetDatabaseDriveL)); |
|
359 iMsgLut.InsertL(ECntDatabaseExists, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::DatabaseExistsL)); |
|
360 iMsgLut.InsertL(ECntListDatabases, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::ListDatabasesL)); |
|
361 iMsgLut.InsertL(ECntGetDatabaseReady, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::GetDatabaseReadyL)); |
|
362 iMsgLut.InsertL(ECntFetchTemplateIds, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::FetchTemplateIdsL)); |
|
363 iMsgLut.InsertL(ECntFetchGroupIdLists, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::FetchGroupIdListsL)); |
|
364 |
|
365 iMsgLut.InsertL(ECntFilesSize, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::FilesSizeL)); |
|
366 |
|
367 iMsgLut.InsertL(ECntGetDefinitionsForExistingView, static_cast<MsgHandlerFptr>(&CCntFileManagerMsgHandler::GetDefinitionsForExistingViewL)); |
|
368 |
|
369 // CCntPropertiesMsgHandler member function pointers |
|
370 iMsgLut.InsertL(ECntChangeViewDef, static_cast<MsgHandlerFptr>(&CCntPropertiesMsgHandler::ChangeViewDefL)); |
|
371 iMsgLut.InsertL(ECntMachineID, static_cast<MsgHandlerFptr>(&CCntPropertiesMsgHandler::MachineIdL)); |
|
372 iMsgLut.InsertL(ECntFileUniqueId, static_cast<MsgHandlerFptr>(&CCntPropertiesMsgHandler::FileUniqueIdL)); |
|
373 iMsgLut.InsertL(ECntOverrideMachineID, static_cast<MsgHandlerFptr>(&CCntPropertiesMsgHandler::OverrideMachineIdL)); |
|
374 iMsgLut.InsertL(ECntReCreateTemplate, static_cast<MsgHandlerFptr>(&CCntPropertiesMsgHandler::ReCreateTemplateL)); |
|
375 iMsgLut.InsertL(ECntGetPrefTemplateId, static_cast<MsgHandlerFptr>(&CCntPropertiesMsgHandler::GetPrefTemplateIdL)); |
|
376 iMsgLut.InsertL(ECntSetPrefTemplateId, static_cast<MsgHandlerFptr>(&CCntPropertiesMsgHandler::SetPrefTemplateIdL)); |
|
377 iMsgLut.InsertL(ECntOpsTimeOut, static_cast<MsgHandlerFptr>(&CCntPropertiesMsgHandler::OpsTimeOut)); |
|
378 iMsgLut.InsertL(ECntICCTemplateId, static_cast<MsgHandlerFptr>(&CCntPropertiesMsgHandler::ICCTemplateIdL)); |
|
379 iMsgLut.InsertL(ECntPhonebookGroupId, static_cast<MsgHandlerFptr>(&CCntPropertiesMsgHandler::PhonebookGroupIdL)); |
|
380 |
|
381 // CCntViewMsgHandler member function pointers |
|
382 iMsgLut.InsertL(ECntItemAtL, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::ItemAtL)); |
|
383 iMsgLut.InsertL(ECntOpenViewSession, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::OpenViewSessionL)); |
|
384 iMsgLut.InsertL(ECntCloseViewSession, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::CloseViewSessionL)); |
|
385 iMsgLut.InsertL(ECntViewChangeSortOrderL, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::ChangeSortOrderL)); |
|
386 iMsgLut.InsertL(ECntViewBeginIterate, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::BeginIterateL)); |
|
387 iMsgLut.InsertL(ECntViewEndIterate, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::EndIterateL)); |
|
388 iMsgLut.InsertL(ECntViewNextItemL, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::NextItemL)); |
|
389 iMsgLut.InsertL(ECntTextField, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::TextFieldL)); |
|
390 iMsgLut.InsertL(ECntReadContactTextDef, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::ReadContactTextDefL)); |
|
391 iMsgLut.InsertL(ECntCreateView, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::CreateViewL)); |
|
392 iMsgLut.InsertL(ECntCreateNamedView, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::CreateNamedViewL)); |
|
393 iMsgLut.InsertL(ECntCloseView, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::CloseViewL)); |
|
394 iMsgLut.InsertL(ECntMatchesHintField, static_cast<MsgHandlerFptr>(&CCntViewMsgHandler::MatchesHintFieldL)); |
|
395 } |