iaupdate/IAD/ui/inc/iaupdateengine.h
changeset 77 d1838696558c
parent 44 329d304c1aa1
child 80 9dcba1ee99f7
--- a/iaupdate/IAD/ui/inc/iaupdateengine.h	Tue Sep 28 14:48:39 2010 +0300
+++ b/iaupdate/IAD/ui/inc/iaupdateengine.h	Thu Oct 14 14:11:30 2010 +0300
@@ -24,6 +24,7 @@
 #include "iaupdateuidefines.h"
 #include "iaupdateuicontrollerobserver.h"
 #include "iaupdatenode.h"
+#include "iaupdatefwupdateobserver.h"
 
 class IAUpdateServiceProvider;
 class CIAUpdateUiController;
@@ -40,7 +41,8 @@
 class IAUpdateResultsDialog;
 
 class IAUpdateEngine : public QObject,
-                       public MIAUpdateUiControllerObserver
+                       public MIAUpdateUiControllerObserver,
+                       public MIAUpdateFWUpdateObserver
     {
     Q_OBJECT
 
@@ -104,7 +106,9 @@
       * @param True value if client application is in background
       */
       bool ClientInBackgroundL() const;
-    
+  
+     CIAUpdateUiController* Controller() const;
+ 
 signals:
     void toMainView();
     
@@ -116,6 +120,12 @@
                  const RPointerArray<MIAUpdateFwNode>& fwNodes,
                  int error);
     
+    void refreshProgress();
+    
+    void setUpdatesRefreshing(bool refreshingUpdates);
+    
+    void updateCompleted();
+    
 
 public slots:    
     void handleAllClientsClosed();    
@@ -157,6 +167,15 @@
     * @param aError Error code
     */
     void RefreshUI();
+    
+    /**
+    Called when UI to be redrawn during update process
+    *
+    * @param aError Error code
+    */
+    void RefreshUIProgress();
+    
+    void SetUpdatesRefreshing( TBool aRefreshing );
             
     /**
     * Called when async update list refresh is completed
@@ -172,6 +191,12 @@
     */     
     void UpdateCompleteL( TInt aError );
     
+private: // From MIAUpdateFWUpdateObserver     
+    
+    void PreparingStarted();
+    
+    void Prepared();
+    
 private:  //new methods
 
     /**