widgets/widgetinstaller/inc/WidgetUIOperationsWatcher.h
changeset 10 a359256acfc6
parent 0 dd21522fd290
child 25 0ed94ceaa377
equal deleted inserted replaced
5:10e98eab6f85 10:a359256acfc6
    27 #include <e32base.h>
    27 #include <e32base.h>
    28 #include <SWInstDefs.h>
    28 #include <SWInstDefs.h>
    29 #include <SWInstTaskManager.h>
    29 #include <SWInstTaskManager.h>
    30 #include <SWInstLogTaskParam.h>
    30 #include <SWInstLogTaskParam.h>
    31 #include <WidgetRegistryClient.h>
    31 #include <WidgetRegistryClient.h>
       
    32 #include <apgcli.h> // RApaLsSession
    32 #include "cuicanceltimer.h"
    33 #include "cuicanceltimer.h"
    33 #include "WidgetUIHandler.h"
    34 #include "WidgetUIHandler.h"
    34 #include "IconConverter.h"
    35 #include "IconConverter.h"
    35 
    36 
    36 // FORWARD DECLARATIONS
    37 // FORWARD DECLARATIONS
   250     /**
   251     /**
   251      * When overwriting an installed widget, restore on error
   252      * When overwriting an installed widget, restore on error
   252      * @since 3.1
   253      * @since 3.1
   253      */
   254      */
   254     void RestoreL();
   255     void RestoreL();
       
   256 
       
   257     /**
       
   258     *In the process of uninstallation if widget is running the widget should be first closed and then uninstalled
       
   259     *@since 5.0
       
   260     */
       
   261     void HandleWidgetCommandL( RApaLsSession& aSession,const TDesC& aWidget,const TUid& aUid,TUint32 aOperation );
   255 
   262 
   256 private: // Data
   263 private: // Data
   257 
   264 
   258     // A few state variables with the normal case complexity being
   265     // A few state variables with the normal case complexity being
   259     // that icon processing runs in parallel with unzipping so if
   266     // that icon processing runs in parallel with unzipping so if
   297     
   304     
   298     // task manager pointer for install logs
   305     // task manager pointer for install logs
   299     CTaskManager* iTaskManager; 
   306     CTaskManager* iTaskManager; 
   300     // TODO: To be investigated
   307     // TODO: To be investigated
   301     //CommonUI::CCUICancelTimer* iCanceller;
   308     //CommonUI::CCUICancelTimer* iCanceller;
       
   309     
       
   310     TFileName iWidgetName;  // save the widget name during overwrite (only for HS widgets)
       
   311     TBool iWidgetInHS;      // indicates whether the widget was in HS
   302     };
   312     };
   303 }
   313 }
   304 
   314 
   305 #endif      // WIDGETUIOPERATIONWATCHER_H
   315 #endif      // WIDGETUIOPERATIONWATCHER_H
   306 
   316