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