iaupdate/IAD/backgroundchecker/inc/iaupdatebgrefreshtimer.h
changeset 55 ac7f90a6ff4c
parent 50 c6e8afe0ba85
equal deleted inserted replaced
50:c6e8afe0ba85 55:ac7f90a6ff4c
    30 #include "iaupdatebginternalfilehandler.h"
    30 #include "iaupdatebginternalfilehandler.h"
    31 #include "iaupdatebgcontrollerfile.h"
    31 #include "iaupdatebgcontrollerfile.h"
    32 #include "iaupdatebgsoftnotification.h"
    32 #include "iaupdatebgsoftnotification.h"
    33 #include "iaupdatebgcheckermode.h"
    33 #include "iaupdatebgcheckermode.h"
    34 
    34 
       
    35 #include "iaupdatebgnotifyhandler.h"
       
    36 
    35 // FORWARD DECLARATIONS
    37 // FORWARD DECLARATIONS
    36 class CIAUpdate;
    38 class CIAUpdate;
    37 class CIAUpdateParameters;
    39 class CIAUpdateParameters;
    38 class CInternalFileHandler;
    40 class CInternalFileHandler;
    39 class CIdleObserver;
    41 class CIdleObserver;
    47  */
    49  */
    48 
    50 
    49 class CIAUpdateBGTimer : public CTimer, 
    51 class CIAUpdateBGTimer : public CTimer, 
    50                  public MIAUpdateObserver, 
    52                  public MIAUpdateObserver, 
    51                  public MCenRepNotifyHandlerCallback, 
    53                  public MCenRepNotifyHandlerCallback, 
    52                  public MIAUpdateBGSoftNotificationCallBack 
    54                  public MIAUpdateBGSoftNotificationCallBack,
       
    55                  public MIAUpdateBGNotifyObserver
    53             
    56             
    54     {
    57     {
    55     public:
    58     public:
    56    
    59    
    57          static CIAUpdateBGTimer* NewL();  
    60          static CIAUpdateBGTimer* NewL();  
    80         void UpdateQueryComplete( TInt aErrorCode, TBool aUpdateNow );
    83         void UpdateQueryComplete( TInt aErrorCode, TBool aUpdateNow );
    81    
    84    
    82     public: //MReminderTimerCallBack
    85     public: //MReminderTimerCallBack
    83 
    86 
    84         void ReminderTimerCallBack();
    87         void ReminderTimerCallBack();
       
    88     
       
    89     private: // From MIAUpdateBGNotifyObserver   
       
    90 
       
    91          void HandleIndicatorRemoveL();
    85         
    92         
    86     private:
    93     private:
    87     
    94     
    88         CIAUpdateBGTimer();
    95         CIAUpdateBGTimer();
    89 
    96 
   175         TInt iLastRunLength;
   182         TInt iLastRunLength;
   176         CIAUpdateBGControllerFile* iControllerFile;
   183         CIAUpdateBGControllerFile* iControllerFile;
   177         CIAUpdateBGInternalFileHandler* iInternalFile;
   184         CIAUpdateBGInternalFileHandler* iInternalFile;
   178         TIAUpdateBGMode iMode;
   185         TIAUpdateBGMode iMode;
   179         CIAUpdateBGSoftNotification* iSoftNotification;
   186         CIAUpdateBGSoftNotification* iSoftNotification;
       
   187         
       
   188         CIAUpdateBGNotifyHandler* iIndicatorNotifyHandler;
   180     };        
   189     };        
   181 
   190 
   182 #endif //IAUPDATEBGREFRESHTIMER_H
   191 #endif //IAUPDATEBGREFRESHTIMER_H