iaupdate/IAD/engine/inc/iaupdatenode.h
branchRCL_3
changeset 25 7333d7932ef7
parent 11 3ba40be8e484
child 26 8b7f4e561641
--- a/iaupdate/IAD/engine/inc/iaupdatenode.h	Thu Aug 19 10:02:49 2010 +0300
+++ b/iaupdate/IAD/engine/inc/iaupdatenode.h	Tue Aug 31 15:21:33 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -78,6 +78,20 @@
        
         };
 
+    /**
+    * For UI during update process
+    **/
+    
+    enum TUIUpdateState
+        {
+        ENormal,
+        EDownloading,
+        EInstalling,
+        EUpdated,
+        EFailed,
+        EDownloaded        
+        };
+    
 
     /**
      * @return TPackageType The type of this node content.
@@ -169,6 +183,20 @@
      */
     virtual TInt Depth() const = 0;
 
+    virtual void SetUiState( TUIUpdateState aState ) = 0;
+    
+    virtual TUIUpdateState UiState() const = 0;
+    
+    // for progress bar in UI
+    virtual void SetProgress( TInt aProgress ) = 0;
+    
+    virtual TInt Progress() const = 0; 
+    
+    virtual void SetTotal( TInt aTotal ) = 0;
+    
+    virtual TInt Total() const = 0; 
+    
+       
 
 protected: