|
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: RemoteContactLookup Setting Extension plug-in. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef CFSCRCLSETTINGEXTENSIONPLUGIN_H |
|
20 #define CFSCRCLSETTINGEXTENSIONPLUGIN_H |
|
21 |
|
22 #include <CPbk2UIExtensionPlugin.h> |
|
23 |
|
24 // FORWARD DECLARATIONS |
|
25 |
|
26 /** |
|
27 * RemoteContactLookup Setting Extension plugin. |
|
28 * Adds RemoteContactLookup setting menu to the Phonebook2 Settings menu |
|
29 * |
|
30 * @lib cfscrclsetting.lib |
|
31 * @since S60 v3.2 |
|
32 */ |
|
33 class CFscRclSettingExtensionPlugin : public CPbk2UIExtensionPlugin |
|
34 { |
|
35 |
|
36 public: |
|
37 |
|
38 /** |
|
39 * Two-phased constructor. |
|
40 */ |
|
41 static CFscRclSettingExtensionPlugin* NewL(); |
|
42 |
|
43 /** |
|
44 * Destructor. |
|
45 */ |
|
46 virtual ~CFscRclSettingExtensionPlugin(); |
|
47 |
|
48 // from base class CPbk2UIExtensionPlugin |
|
49 MPbk2UIExtensionView* CreateExtensionViewL( |
|
50 TUid aViewId, |
|
51 CPbk2UIExtensionView& aView ); |
|
52 |
|
53 void DynInitMenuPaneL( |
|
54 TInt aResourceId, |
|
55 CEikMenuPane* aMenuPane, |
|
56 MPbk2ContactUiControl& aControl ); |
|
57 |
|
58 |
|
59 void UpdateStorePropertiesL( |
|
60 CPbk2StorePropertyArray& aPropertyArray ); |
|
61 |
|
62 TBool GetHelpContextL( |
|
63 TCoeHelpContext& aContext, |
|
64 const CPbk2AppViewBase& aView, |
|
65 MPbk2ContactUiControl& aUiControl ); |
|
66 |
|
67 void ApplyDynamicViewGraphChangesL( |
|
68 CPbk2ViewGraph& aViewGraph ); |
|
69 |
|
70 void ApplyDynamicPluginInformationDataL( |
|
71 CPbk2UIExtensionInformation& aUiExtensionInformation ); |
|
72 |
|
73 // from base class MPbk2UIExtensionFactory |
|
74 |
|
75 MPbk2ContactEditorExtension* CreatePbk2ContactEditorExtensionL( |
|
76 CVPbkContactManager& aContactManager, |
|
77 MVPbkStoreContact& aContact, |
|
78 MPbk2ContactEditorControl& aEditorControl ); |
|
79 |
|
80 MPbk2ContactUiControlExtension* CreatePbk2UiControlExtensionL( |
|
81 CVPbkContactManager& aContactManager ); |
|
82 |
|
83 MPbk2SettingsViewExtension* CreatePbk2SettingsViewExtensionL( |
|
84 CVPbkContactManager& aContactManager ); |
|
85 |
|
86 MPbk2AppUiExtension* CreatePbk2AppUiExtensionL( |
|
87 CVPbkContactManager& aContactManager ); |
|
88 |
|
89 MPbk2Command* CreatePbk2CommandForIdL( |
|
90 TInt aCommandId, |
|
91 MPbk2ContactUiControl& aUiControl ) const; |
|
92 |
|
93 MPbk2AiwInterestItem* CreatePbk2AiwInterestForIdL( |
|
94 TInt aInterestId, |
|
95 CAiwServiceHandler& aServiceHandler ) const; |
|
96 |
|
97 private: |
|
98 |
|
99 CFscRclSettingExtensionPlugin(); |
|
100 |
|
101 void ConstructL(); |
|
102 |
|
103 private: // data |
|
104 }; |
|
105 |
|
106 #endif // CFSCRCLSETTINGEXTENSIONPLUGIN_H |