equal
deleted
inserted
replaced
25 |
25 |
26 // Forward Declarations |
26 // Forward Declarations |
27 class MDesCArray; |
27 class MDesCArray; |
28 class MLbtMgmtPluginCmdHdlr; |
28 class MLbtMgmtPluginCmdHdlr; |
29 class CAknSettingStyleListBox; |
29 class CAknSettingStyleListBox; |
|
30 class CLbtMgmtPluginView; |
30 |
31 |
31 // Class Definition |
32 // Class Definition |
32 |
33 |
33 /** |
34 /** |
34 * Container for the CLbtMgmtPluginView. |
35 * Container for the CLbtMgmtPluginView. |
46 * @return CLbtMgmtPluginContainer* Reference to the object created |
47 * @return CLbtMgmtPluginContainer* Reference to the object created |
47 */ |
48 */ |
48 static CLbtMgmtPluginContainer* NewL( |
49 static CLbtMgmtPluginContainer* NewL( |
49 const TRect& aRect, |
50 const TRect& aRect, |
50 MDesCArray& aListBoxModel, |
51 MDesCArray& aListBoxModel, |
51 MLbtMgmtPluginCmdHdlr& aCmdHandler ); |
52 MLbtMgmtPluginCmdHdlr& aCmdHandler, |
|
53 CLbtMgmtPluginView* aView ); |
52 |
54 |
53 /** |
55 /** |
54 * Static Two phase contructor that instantiates the CLbtMgmtPluginContainer |
56 * Static Two phase contructor that instantiates the CLbtMgmtPluginContainer |
55 * Leaves the object on the Cleanup stack |
57 * Leaves the object on the Cleanup stack |
56 * |
58 * |
60 * @return CLbtMgmtPluginContainer* Reference to the object created |
62 * @return CLbtMgmtPluginContainer* Reference to the object created |
61 */ |
63 */ |
62 static CLbtMgmtPluginContainer* NewLC( |
64 static CLbtMgmtPluginContainer* NewLC( |
63 const TRect& aRect, |
65 const TRect& aRect, |
64 MDesCArray& aListBoxModel, |
66 MDesCArray& aListBoxModel, |
65 MLbtMgmtPluginCmdHdlr& aCmdHandler ); |
67 MLbtMgmtPluginCmdHdlr& aCmdHandler, |
|
68 CLbtMgmtPluginView* aView ); |
66 /** |
69 /** |
67 * Destructor |
70 * Destructor |
68 */ |
71 */ |
69 ~CLbtMgmtPluginContainer(); |
72 ~CLbtMgmtPluginContainer(); |
70 |
73 |
116 |
119 |
117 /** |
120 /** |
118 * Updates listbox model |
121 * Updates listbox model |
119 */ |
122 */ |
120 void Update(); |
123 void Update(); |
|
124 /* |
|
125 * Shows context specific menu items |
|
126 */ |
|
127 void ShowContextMenuL(); |
121 |
128 |
122 protected: |
129 protected: |
123 /** |
130 /** |
124 * Handles Focus Change to list |
131 * Handles Focus Change to list |
125 */ |
132 */ |
133 private: |
140 private: |
134 /** |
141 /** |
135 * Overloaded Constructor |
142 * Overloaded Constructor |
136 */ |
143 */ |
137 CLbtMgmtPluginContainer( MDesCArray& aListBoxModel, |
144 CLbtMgmtPluginContainer( MDesCArray& aListBoxModel, |
138 MLbtMgmtPluginCmdHdlr& aCmdHandler ); |
145 MLbtMgmtPluginCmdHdlr& aCmdHandler, |
|
146 CLbtMgmtPluginView* aView ); |
139 |
147 |
140 /** |
148 /** |
141 * Second phase of the two phase Construction process |
149 * Second phase of the two phase Construction process |
142 */ |
150 */ |
143 void ConstructL( const TRect& aRect ); |
151 void ConstructL( const TRect& aRect ); |
180 |
188 |
181 /** |
189 /** |
182 * Help context |
190 * Help context |
183 */ |
191 */ |
184 TCoeContextName iContextName; |
192 TCoeContextName iContextName; |
|
193 /* |
|
194 * reference to the lbtmgmtplugin view |
|
195 */ |
|
196 CLbtMgmtPluginView* iView; |
185 |
197 |
186 }; |
198 }; |
187 |
199 |
188 #endif // CLBTMGMTPLUGINCONTAINER_H_ |
200 #endif // CLBTMGMTPLUGINCONTAINER_H_ |
189 |
201 |