diff -r 10e98eab6f85 -r a359256acfc6 widgets/widgetinstaller/inc/WidgetUIOperationsWatcher.h --- a/widgets/widgetinstaller/inc/WidgetUIOperationsWatcher.h Fri Jul 03 15:54:40 2009 +0100 +++ b/widgets/widgetinstaller/inc/WidgetUIOperationsWatcher.h Thu Aug 27 07:44:59 2009 +0300 @@ -29,6 +29,7 @@ #include #include #include +#include // RApaLsSession #include "cuicanceltimer.h" #include "WidgetUIHandler.h" #include "IconConverter.h" @@ -253,6 +254,12 @@ */ void RestoreL(); + /** + *In the process of uninstallation if widget is running the widget should be first closed and then uninstalled + *@since 5.0 + */ + void HandleWidgetCommandL( RApaLsSession& aSession,const TDesC& aWidget,const TUid& aUid,TUint32 aOperation ); + private: // Data // A few state variables with the normal case complexity being @@ -299,6 +306,9 @@ CTaskManager* iTaskManager; // TODO: To be investigated //CommonUI::CCUICancelTimer* iCanceller; + + TFileName iWidgetName; // save the widget name during overwrite (only for HS widgets) + TBool iWidgetInHS; // indicates whether the widget was in HS }; }