iaupdate/IAD/ui/inc/iaupdateengine.h
changeset 44 329d304c1aa1
parent 42 d17dc5398051
child 77 d1838696558c
equal deleted inserted replaced
42:d17dc5398051 44:329d304c1aa1
    32 class CIAUpdateGlobalLockHandler;
    32 class CIAUpdateGlobalLockHandler;
    33 class CIAUpdateAutomaticCheck;
    33 class CIAUpdateAutomaticCheck;
    34 class MIAUpdateNode;
    34 class MIAUpdateNode;
    35 class MIAUpdateFwNode;
    35 class MIAUpdateFwNode;
    36 class CEikonEnv;
    36 class CEikonEnv;
    37 class RCmManagerExt;
    37 class RCmManager;
    38 class CIdle;
    38 class CIdle;
    39 class HbAction;
    39 class HbAction;
    40 class IAUpdateResultsDialog;
    40 class IAUpdateResultsDialog;
    41 
    41 
    42 class IAUpdateEngine : public QObject,
    42 class IAUpdateEngine : public QObject,
   148     * Handles leave error withot leaving
   148     * Handles leave error withot leaving
   149     *
   149     *
   150     * @param aError Error code
   150     * @param aError Error code
   151     */      
   151     */      
   152     void HandleLeaveErrorWithoutLeave( TInt aError );
   152     void HandleLeaveErrorWithoutLeave( TInt aError );
       
   153     
       
   154     /**
       
   155     Called when UI to be redrawn during update process
       
   156     *
       
   157     * @param aError Error code
       
   158     */
       
   159     void RefreshUI();
   153             
   160             
   154     /**
   161     /**
   155     * Called when async update list refresh is completed
   162     * Called when async update list refresh is completed
   156     *
   163     *
   157     * @param aError Error code
   164     * @param aError Error code
   197     void SetDefaultConnectionMethodL( bool aTotalSilent );   
   204     void SetDefaultConnectionMethodL( bool aTotalSilent );   
   198     
   205     
   199      /**
   206      /**
   200      * Choose a usable IAP from all SNAPs
   207      * Choose a usable IAP from all SNAPs
   201      *
   208      *
   202      * @param aCmManagerExt handle of connection manager
   209      * @param aCmManager handle of connection manager
   203      */  
   210      */  
   204     uint GetBestIAPInAllSNAPsL( RCmManagerExt& aCmManagerExt  );
   211     uint GetBestIAPInAllSNAPsL( RCmManager& aCmManager );
   205         
   212         
   206      /**
   213      /**
   207      * Choose a usable IAP from Internet SNAP
   214      * Choose a usable IAP from Internet SNAP
   208      *
   215      *
   209      * @param aCmManagerExt handle of connection manager
   216      * @param aCmManager handle of connection manager
   210      */
   217      */
   211     uint GetBestIAPInInternetSNAPL( RCmManagerExt& aCmManagerExt  );
   218     uint GetBestIAPInInternetSNAPL( RCmManager& aCmManager );
   212 
   219 
   213      /**
   220      /**
   214      * Choose the best IAP under the given SNAP
   221      * Choose the best IAP under the given SNAP
   215      *
   222      *
   216      * @param aCmManagerExt handle of connection manager
   223      * @param aCmManager handle of connection manager
   217      * @param aSNAP SNAP ID
   224      * @param aSNAP SNAP ID
   218      */  
   225      */  
   219      uint GetBestIAPInThisSNAPL( RCmManagerExt& aCmManagerExt, uint aSNAP = 0);
   226      uint GetBestIAPInThisSNAPL( RCmManager& aCmManager, uint aSNAP = 0);
   220      
   227      
   221      /**
   228      /**
   222      * Shows update query dialog (now/later) 
   229      * Shows update query dialog (now/later) 
   223      */ 
   230      */ 
   224      void ShowUpdateQueryL();
   231      void ShowUpdateQueryL();
   239      *
   246      *
   240      * @param aPtr  Pointer to this instance
   247      * @param aPtr  Pointer to this instance
   241      */
   248      */
   242      static TInt AutomaticCheckCallbackL( TAny* aPtr );
   249      static TInt AutomaticCheckCallbackL( TAny* aPtr );
   243      
   250      
   244      void DoPossibleApplicationClose();
   251      bool DoPossibleApplicationClose();
   245  
   252  
   246    
   253    
   247 
   254 
   248 private:
   255 private:
   249      
   256