diff -r 79859ed3eea9 -r 919f36ff910f webengine/wrtharvester/inc/wrtharvester.h --- a/webengine/wrtharvester/inc/wrtharvester.h Tue Aug 31 16:17:46 2010 +0300 +++ b/webengine/wrtharvester/inc/wrtharvester.h Wed Sep 01 12:28:30 2010 +0100 @@ -24,7 +24,6 @@ #include #include #include "wrtharvesterregistryaccess.h" -#include "wrtusbhandler.h" // FORWARD DECLARATIONS class CWrtHarvesterPSNotifier; @@ -113,11 +112,20 @@ */ void QueueOperationL( TWidgetOperations aOperation, TUid aUid ); - void DialogShown(){ iDialogShown = EFalse; } //to check if the device is in mass memory mode TInt IsInMSMode() { return iMSMode; } void SetMSMode(TInt val) { iMSMode = val; } - + //To check if registry can be accessed + TInt CanAccessRegistry(){ return iCanAccessRegistry; } + void SetRegistryAccess(TBool aValue){ iCanAccessRegistry = aValue; } + + void SetReinstallWidget(TBool aValue){ iReinstallingWidget = aValue; } + + void DialogShown(); + + static TInt DeleteCallback(TAny* aPtr); + + void SetSystemShutdown(TBool aState){ iSystemShutdown = aState; } private: @@ -272,6 +280,18 @@ * own */ CWrtUsbHandler* iWidgetUsbListener; + + /** + * Publish & Subscribe listener + * own + */ + CWrtHarvesterPSNotifier* iWidgetSystemShutdownListener; + + /** + * Publish & Subscribe listener + * own + */ + CWrtHarvesterPSNotifier* iMsModeListener; /** * @@ -329,6 +349,30 @@ * */ RPointerArray iHSWidgets; + /** + * + */ + TBool iCanAccessRegistry; + + /** + * + */ + TBool iReinstallingWidget; + + /** + * + */ + RArray iUid; + + /** + * + */ + CAsyncCallBack* iAsyncCallBack; + + /** + * + */ + TBool iSystemShutdown; }; #endif // C_WRTCONTENTHARVESTER_H