83 * @param aConfigurations Information about the subscriber |
83 * @param aConfigurations Information about the subscriber |
84 * and the data to subscribe. |
84 * and the data to subscribe. |
85 * @return void |
85 * @return void |
86 */ |
86 */ |
87 void ConfigureL(RAiSettingsItemArray& aConfigurations); |
87 void ConfigureL(RAiSettingsItemArray& aConfigurations); |
88 |
|
89 /** |
|
90 * Checks is this menu item is supported by the publisher |
|
91 * |
|
92 * @param aMenuItem menu item name. |
|
93 * @return boolean (ETrue/EFalse) |
|
94 */ |
|
95 TBool HasMenuItem(const TDesC16& aMenuItem ); |
|
96 |
88 |
97 /** |
89 /** |
98 * Register to CPS for all (add/delete/update/execute) action |
90 * Register to CPS for all (add/delete/update/execute) action |
99 * |
91 * |
100 * @param none |
92 * @param none |
190 * @return void |
190 * @return void |
191 */ |
191 */ |
192 void ExecuteCommandL(CLiwDefaultMap* aInFilter, |
192 void ExecuteCommandL(CLiwDefaultMap* aInFilter, |
193 CLiwDefaultMap* aOutDataMap, const TDesC16& aRegistry ); |
193 CLiwDefaultMap* aOutDataMap, const TDesC16& aRegistry ); |
194 |
194 |
195 /** |
|
196 * Gets the menu item from the publisher |
|
197 * |
|
198 * @param none |
|
199 * @return void |
|
200 */ |
|
201 void GetMenuItemsL(); |
|
202 |
|
203 /** |
195 /** |
204 * Gets the widgent name and uid |
196 * Gets the widgent name and uid |
205 * |
197 * |
206 * @param aName - widget name |
198 * @param aName - widget name |
207 * @param aAppUID - widget uid |
199 * @param aAppUID - widget uid |
239 private : |
231 private : |
240 // data |
232 // data |
241 TBuf<KHsPublisherNamespaceMaxLength> iPluginId; |
233 TBuf<KHsPublisherNamespaceMaxLength> iPluginId; |
242 /** CPS Command Buffer Interface, Not Owned */ |
234 /** CPS Command Buffer Interface, Not Owned */ |
243 MAiCpsCommandBuffer* iCpsExecute; |
235 MAiCpsCommandBuffer* iCpsExecute; |
244 /** Subscriber interface, owned */ |
236 /** Subscriber interface, Not owned */ |
245 MLiwInterface* iInterface; |
237 MLiwInterface* iInterface; |
|
238 /** Service handler, Not owned */ |
|
239 CLiwServiceHandler* iServiceHandler; |
246 /** Data Observer to CPS, owned */ |
240 /** Data Observer to CPS, owned */ |
247 CWrtDataObserver* iObserver; |
241 CWrtDataObserver* iObserver; |
248 /** Service handler, owned */ |
|
249 CLiwServiceHandler* iServiceHandler; |
|
250 /** Command name in configuration Array, owned */ |
|
251 HBufC8* iCommandName; |
|
252 /** Reference of the wrt data plugin, not owned */ |
242 /** Reference of the wrt data plugin, not owned */ |
253 CWrtDataPlugin* iPlugin; |
243 CWrtDataPlugin* iPlugin; |
254 /** Menu item names, owned */ |
|
255 RPointerArray<HBufC16> iMenuItems; |
|
256 /** Trigger names for the menu items, owned */ |
|
257 RPointerArray<HBufC8> iMenuTriggers; |
|
258 /** Content id, owned */ |
244 /** Content id, owned */ |
259 HBufC* iContentId; |
245 HBufC* iContentId; |
|
246 /** Widget's UID */ |
|
247 TUid iAppUid; |
260 }; |
248 }; |
261 |
249 |
262 #endif /*WRTDATA_H*/ |
250 #endif /*WRTDATA_H*/ |