|
1 /* |
|
2 * Copyright (c) 2005-2007 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: Map extension plugin. |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CPMAPUIEXTENSIONPLUGIN_H |
|
19 #define CPMAPUIEXTENSIONPLUGIN_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32base.h> |
|
23 #include <CPbk2UIExtensionPlugin.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * Phonebook 2 Map UI extension plug-in. |
|
29 * Responsible for implementing UI extension plug-in interface. |
|
30 */ |
|
31 class CPmapUIExtensionPlugin : public CPbk2UIExtensionPlugin |
|
32 { |
|
33 public: // Construction and destruction |
|
34 |
|
35 /** |
|
36 * Creates a new instance of this class. |
|
37 * |
|
38 * @return A new instance of this class. |
|
39 */ |
|
40 static CPmapUIExtensionPlugin* NewL(); |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 ~CPmapUIExtensionPlugin(); |
|
46 |
|
47 private: // From CPbk2UIExtensionPlugin |
|
48 MPbk2UIExtensionView* CreateExtensionViewL( |
|
49 TUid aViewId, |
|
50 CPbk2UIExtensionView& aView ); |
|
51 void DynInitMenuPaneL( |
|
52 TInt aResourceId, |
|
53 CEikMenuPane* aMenuPane, |
|
54 MPbk2ContactUiControl& aControl ); |
|
55 void UpdateStorePropertiesL( |
|
56 CPbk2StorePropertyArray& aPropertyArray ); |
|
57 MPbk2ContactEditorExtension* CreatePbk2ContactEditorExtensionL( |
|
58 CVPbkContactManager& aContactManager, |
|
59 MVPbkStoreContact& aContact, |
|
60 MPbk2ContactEditorControl& aEditorControl ); |
|
61 MPbk2ContactUiControlExtension* CreatePbk2UiControlExtensionL( |
|
62 CVPbkContactManager& aContactManager ); |
|
63 MPbk2SettingsViewExtension* CreatePbk2SettingsViewExtensionL( |
|
64 CVPbkContactManager& aContactManager ); |
|
65 MPbk2AppUiExtension* CreatePbk2AppUiExtensionL( |
|
66 CVPbkContactManager& aContactManager ); |
|
67 MPbk2Command* CreatePbk2CommandForIdL( |
|
68 TInt aCommandId, |
|
69 MPbk2ContactUiControl& aUiControl ) const; |
|
70 MPbk2AiwInterestItem* CreatePbk2AiwInterestForIdL( |
|
71 TInt aInterestId, |
|
72 CAiwServiceHandler& aServiceHandler ) const; |
|
73 TBool GetHelpContextL( |
|
74 TCoeHelpContext& aContext, |
|
75 const CPbk2AppViewBase& aView, |
|
76 MPbk2ContactUiControl& aUiControl ); |
|
77 void ApplyDynamicViewGraphChangesL( |
|
78 CPbk2ViewGraph& aViewGraph ); |
|
79 void ApplyDynamicPluginInformationDataL( |
|
80 CPbk2UIExtensionInformation& aUiExtensionInformation ); |
|
81 |
|
82 private: // Implementation |
|
83 CPmapUIExtensionPlugin(); |
|
84 void ConstructL(); |
|
85 |
|
86 private: // Data |
|
87 }; |
|
88 |
|
89 #endif // CPMAPUIEXTENSIONPLUGIN_H |
|
90 |
|
91 // End of File |