equal
deleted
inserted
replaced
18 |
18 |
19 #ifndef __CCAPPLUGINLOADER_H__ |
19 #ifndef __CCAPPLUGINLOADER_H__ |
20 #define __CCAPPLUGINLOADER_H__ |
20 #define __CCAPPLUGINLOADER_H__ |
21 |
21 |
22 #include <e32base.h> |
22 #include <e32base.h> |
|
23 #include <RPbk2LocalizedResourceFile.h> |
23 |
24 |
24 class CCCAppView; |
25 class CCCAppView; |
25 class CCCAppPluginData; |
26 class CCCAppPluginData; |
26 class CCCAppViewPluginBase; |
27 class CCCAppViewPluginBase; |
27 class CImplementationInformation; |
28 class CImplementationInformation; |
28 class CEikonEnv; |
29 class CEikonEnv; |
29 class MCCAppEngine; |
30 class MCCAppEngine; |
30 class TCCAPluginsOrderInfo; |
31 class TCCAPluginsOrderInfo; |
31 class CcaPluginFactoryOwner; |
32 class CcaPluginFactoryOwner; |
32 |
33 class TVPbkContactStoreUriPtr; |
|
34 class CPbk2ApplicationServices; |
33 /** |
35 /** |
34 * Class for loading and handling the plugins |
36 * Class for loading and handling the plugins |
35 * |
37 * |
36 * @code |
38 * @code |
37 * ?good_class_usage_example(s) |
39 * ?good_class_usage_example(s) |
349 * @param aName name extracted |
351 * @param aName name extracted |
350 * @param aValue value extracted |
352 * @param aValue value extracted |
351 * @param aDataPtr property string |
353 * @param aDataPtr property string |
352 */ |
354 */ |
353 void GetNameValue( TPtrC8& aName, TPtrC8& aValue, TPtrC8& aDataPtr ); |
355 void GetNameValue( TPtrC8& aName, TPtrC8& aValue, TPtrC8& aDataPtr ); |
354 |
356 |
|
357 /** |
|
358 * Determine whether a Contact Store URI is SIM Card storage. |
|
359 * |
|
360 * @param aUri, the Contact Store URI to compare. |
|
361 */ |
|
362 TBool IsSimStoreUri( const TVPbkContactStoreUriPtr& aUri ) const; |
|
363 |
|
364 /** |
|
365 * Determine whether an implementation plug-in is supported by Current Contact Store. |
|
366 * |
|
367 * @param aImplmentationUid, the plug-in's ImplmentationUid. |
|
368 */ |
|
369 TBool IsCurrentContactStoreSupportL( const TInt& aImplmentationUid ) const; |
|
370 |
|
371 /** |
|
372 * Prepare application services |
|
373 * |
|
374 */ |
|
375 void PreparePbk2ApplicationServicesL(); |
|
376 |
|
377 |
355 private://data |
378 private://data |
356 |
379 |
357 |
380 |
358 /** |
381 /** |
359 * Pointer array of loaded plugin data structures. |
382 * Pointer array of loaded plugin data structures. |
373 |
396 |
374 /** |
397 /** |
375 * Temporary holder for CcaPluginFactoryOwner, |
398 * Temporary holder for CcaPluginFactoryOwner, |
376 * owned unless ownership handed over. |
399 * owned unless ownership handed over. |
377 */ |
400 */ |
378 CcaPluginFactoryOwner* iFactoryTempPtr; |
401 CcaPluginFactoryOwner* iFactoryTempPtr; |
|
402 |
|
403 /// Own: Phonebook2 application services |
|
404 CPbk2ApplicationServices* iAppServices; |
|
405 |
|
406 /// Own: Phonebook2 commands dll resource file |
|
407 RPbk2LocalizedResourceFile iCommandsResourceFile; |
|
408 |
|
409 /// Own: Phonebook2 UI controls dll resource file |
|
410 RPbk2LocalizedResourceFile iUiControlsResourceFile; |
|
411 |
|
412 /// Own: Phonebook2 common UI dll resource file |
|
413 RPbk2LocalizedResourceFile iCommonUiResourceFile; |
379 }; |
414 }; |
380 |
415 |
381 #endif // __CCAPPUNITTESTMODE |
416 #endif // __CCAPPUNITTESTMODE |
382 //End of file |
417 //End of file |