webengine/wrtharvester/inc/wrtharvester.h
changeset 11 c8a366e56285
parent 10 a359256acfc6
child 15 60c5402cb945
--- a/webengine/wrtharvester/inc/wrtharvester.h	Thu Aug 27 07:44:59 2009 +0300
+++ b/webengine/wrtharvester/inc/wrtharvester.h	Thu Sep 24 12:53:48 2009 +0300
@@ -24,7 +24,7 @@
 #include <contentharvesterplugin.h>
 #include <widgetappdefs.rh>
 #include "wrtharvesterregistryaccess.h"
-
+#include "wrtusbhandler.h"
 
 // FORWARD DECLARATIONS
 class CWrtHarvesterPSNotifier;
@@ -32,6 +32,8 @@
 class MLiwInterface;
 class CLiwGenericParamList;
 class CWrtInfo;
+class CWidgetMMCHandler;
+
 
 // CONSTANTS
 
@@ -111,7 +113,11 @@
     	*/
 		void QueueOperationL(  TWidgetOperations aOperation, TUid aUid );	
 		
-		void DialogShown(){ iDialogShown = EFalse; }	
+		void DialogShown(){ iDialogShown = EFalse; }
+		//to check if the device is in mass memory mode
+		TInt IsInMSMode() { return iMSMode; }
+		void  SetMSMode(TInt val)  { iMSMode = val; }
+		 
 		
 	private:
         
@@ -265,7 +271,7 @@
          * Publish & Subscribe listener
          * own
          */        
-        CWrtHarvesterPSNotifier* iWidgetUsbListener;
+        CWidgetMMCHandler* iWidgetUsbListener;
         
 		/**
     	* 
@@ -311,6 +317,18 @@
          *
          */
          TBool        iDialogShown;
+        /**
+         *
+         *
+         */
+         TInt        iMSMode;
+         
+         RFs iFs;
+        /**
+         *
+         *
+         */
+         RPointerArray<HBufC> iHSWidgets;
     };
 
 #endif // C_WRTCONTENTHARVESTER_H