equal
deleted
inserted
replaced
22 // INCLUDES |
22 // INCLUDES |
23 #include <apgcli.h> // RApaLsSession |
23 #include <apgcli.h> // RApaLsSession |
24 #include <contentharvesterplugin.h> |
24 #include <contentharvesterplugin.h> |
25 #include <widgetappdefs.rh> |
25 #include <widgetappdefs.rh> |
26 #include "wrtharvesterregistryaccess.h" |
26 #include "wrtharvesterregistryaccess.h" |
27 |
27 #include "wrtusbhandler.h" |
28 |
28 |
29 // FORWARD DECLARATIONS |
29 // FORWARD DECLARATIONS |
30 class CWrtHarvesterPSNotifier; |
30 class CWrtHarvesterPSNotifier; |
31 class CWrtHarvesterPublisherObserver; |
31 class CWrtHarvesterPublisherObserver; |
32 class MLiwInterface; |
32 class MLiwInterface; |
33 class CLiwGenericParamList; |
33 class CLiwGenericParamList; |
34 class CWrtInfo; |
34 class CWrtInfo; |
|
35 class CWidgetMMCHandler; |
|
36 |
35 |
37 |
36 // CONSTANTS |
38 // CONSTANTS |
37 |
39 |
38 enum TWidgetState |
40 enum TWidgetState |
39 { |
41 { |
109 * @param aOperation Operation to be queued |
111 * @param aOperation Operation to be queued |
110 * @param aUid Uid of the widget |
112 * @param aUid Uid of the widget |
111 */ |
113 */ |
112 void QueueOperationL( TWidgetOperations aOperation, TUid aUid ); |
114 void QueueOperationL( TWidgetOperations aOperation, TUid aUid ); |
113 |
115 |
114 void DialogShown(){ iDialogShown = EFalse; } |
116 void DialogShown(){ iDialogShown = EFalse; } |
|
117 //to check if the device is in mass memory mode |
|
118 TInt IsInMSMode() { return iMSMode; } |
|
119 void SetMSMode(TInt val) { iMSMode = val; } |
|
120 |
115 |
121 |
116 private: |
122 private: |
117 |
123 |
118 /** |
124 /** |
119 * Perform the second phase construction |
125 * Perform the second phase construction |
263 |
269 |
264 /** |
270 /** |
265 * Publish & Subscribe listener |
271 * Publish & Subscribe listener |
266 * own |
272 * own |
267 */ |
273 */ |
268 CWrtHarvesterPSNotifier* iWidgetUsbListener; |
274 CWidgetMMCHandler* iWidgetUsbListener; |
269 |
275 |
270 /** |
276 /** |
271 * |
277 * |
272 */ |
278 */ |
273 RWrtArray<CWrtHarvesterPublisherObserver> iObservers; |
279 RWrtArray<CWrtHarvesterPublisherObserver> iObservers; |
309 /** |
315 /** |
310 * |
316 * |
311 * |
317 * |
312 */ |
318 */ |
313 TBool iDialogShown; |
319 TBool iDialogShown; |
|
320 /** |
|
321 * |
|
322 * |
|
323 */ |
|
324 TInt iMSMode; |
|
325 |
|
326 RFs iFs; |
|
327 /** |
|
328 * |
|
329 * |
|
330 */ |
|
331 RPointerArray<HBufC> iHSWidgets; |
314 }; |
332 }; |
315 |
333 |
316 #endif // C_WRTCONTENTHARVESTER_H |
334 #endif // C_WRTCONTENTHARVESTER_H |