equal
deleted
inserted
replaced
21 #ifndef PSUIGSPLUGIN_H |
21 #ifndef PSUIGSPLUGIN_H |
22 #define PSUIGSPLUGIN_H |
22 #define PSUIGSPLUGIN_H |
23 |
23 |
24 // INCLUDES |
24 // INCLUDES |
25 #include <ConeResLoader.h> |
25 #include <ConeResLoader.h> |
26 #include <gsbaseview.h> |
26 #include <coeview.h> |
27 |
27 |
28 // FORWARD DECLARATIONS |
28 // FORWARD DECLARATIONS |
29 class CPSUIGSPluginContainer; |
29 class CPSUIGSPluginContainer; |
30 class CPSUIGSPluginModel; |
30 class CPSUIGSPluginModel; |
31 |
31 |
32 // CLASS DECLARATION |
32 // CLASS DECLARATION |
|
33 class CEikMenuPane; |
33 |
34 |
34 /** |
35 /** |
35 * Header of CPSUIGSPlugin which implements the CGSPluginInterface. |
36 * Header of CPSUIGSPlugin which implements the CGSPluginInterface. |
36 * |
37 * |
37 * @lib PSUIGSPlugin.lib |
38 * @lib PSUIGSPlugin.lib |
38 * @since Series60_3.2 |
39 * @since Series60_3.2 |
39 */ |
40 */ |
40 class CPSUIGSPlugin : |
41 class CPSUIGSPlugin : |
41 public CGSBaseView, |
|
42 public MCoeViewDeactivationObserver |
42 public MCoeViewDeactivationObserver |
43 { |
43 { |
44 |
44 |
45 public: // Constructors and destructor |
45 public: // Constructors and destructor |
46 |
46 |
80 * From CAknView |
80 * From CAknView |
81 * See base class. |
81 * See base class. |
82 */ |
82 */ |
83 void HandleCommandL( TInt aCommand ); |
83 void HandleCommandL( TInt aCommand ); |
84 |
84 |
85 /** |
|
86 * From CGSBaseView |
|
87 * See base class. |
|
88 */ |
|
89 void NewContainerL(); |
|
90 |
|
91 /** |
|
92 * From CGSBaseView |
|
93 * See base class. |
|
94 */ |
|
95 void HandleListBoxSelectionL(); |
|
96 |
|
97 /** |
|
98 * From CGSPluginInterface |
|
99 * See base class. |
|
100 */ |
|
101 void GetCaptionL( TDes& aCaption ) const; |
|
102 |
|
103 /** |
|
104 * From CGSPluginInterface |
|
105 * See base class. |
|
106 */ |
|
107 TInt PluginProviderCategory() const; |
|
108 |
|
109 /** |
|
110 * From CGSPluginInterface |
|
111 * See base class. |
|
112 */ |
|
113 CGulIcon* CreateIconL( const TUid aIconType ); |
|
114 |
|
115 /** |
85 /** |
116 * From MEikMenuObserver |
86 * From MEikMenuObserver |
117 * See base class. |
87 * See base class. |
118 */ |
88 */ |
119 void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane *aMenuPane ); |
89 void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane *aMenuPane ); |
199 |
169 |
200 private: // Data |
170 private: // Data |
201 |
171 |
202 // Presence UI model |
172 // Presence UI model |
203 CPSUIGSPluginModel* iPSModel; |
173 CPSUIGSPluginModel* iPSModel; |
204 // Presence Setting view |
174 |
205 CAknView* iSettingView; |
|
206 // Indicates when PSUIGSPlugin's views are closed |
175 // Indicates when PSUIGSPlugin's views are closed |
207 TBool iClosing; |
176 TBool iClosing; |
208 // Previous view |
177 // Previous view |
209 TVwsViewId iPSUIGSPrevViewId; |
178 TVwsViewId iPSUIGSPrevViewId; |
210 }; |
179 }; |