appinstaller/AppinstUi/sisxsifplugin/inc/sisxsifpluginuihandlerbase.h
changeset 55 ac7f90a6ff4c
parent 44 329d304c1aa1
child 58 67f2119dc623
--- a/appinstaller/AppinstUi/sisxsifplugin/inc/sisxsifpluginuihandlerbase.h	Thu Jul 08 20:28:00 2010 +0300
+++ b/appinstaller/AppinstUi/sisxsifplugin/inc/sisxsifpluginuihandlerbase.h	Thu Jul 22 14:08:51 2010 +0300
@@ -28,6 +28,7 @@
 
 namespace Usif
 {
+    class CComponentEntry;
     class CSisxSifPluginInstallParams;
     class CSisxSifPluginErrorHandler;
 
@@ -50,13 +51,18 @@
         void SetInstallParamsL( const CSisxSifPluginInstallParams& aInstallParams );
         void SetMaxInstalledSize( TInt aSize );
         void SetDriveSelectionRequired( TBool aIsRequired );
+        TBool IsOcspMandatoryL() const;
+
+        // functions to publish operation progress
         void PublishStartL( const CComponentInfo::CNode& aRootNode );
-        void PublishProgressL( TSifOperationPhase aPhase, TSifOperationSubPhase aSubPhase,
-                TInt aCurrentProgress, TInt aTotal );
-        void PublishCompletionL( const CSisxSifPluginErrorHandler& aError );
+        void PublishStartL( const CComponentEntry& aEntry );
+        void PublishProgressL( TSifOperationSubPhase aSubPhase );
+        void PublishCompletionL();
 
     protected:  // new functions
         void SetDisplayErrorL( Swi::TErrorDialog aType, const TDesC& aParam );
+        void SetOcspErrorL( Swi::TRevocationDialogMessage aMessage );
+        TBool ShowQuestionL( const TDesC& aText ) const;
 
     protected:	// data
         RFs& iFs;
@@ -64,8 +70,13 @@
         TInt iMaxInstalledSize;
         TBool iIsDriveSelectionRequired;
         CSisxSifPluginInstallParams* iInstallParams;
+        
+        // members for publishing operation progress
+        CPublishSifOperationInfo* iPublishSifOperationInfo;
+        TSifOperationPhase iOperationPhase;
         HBufC* iGlobalComponentId;
-        CPublishSifOperationInfo* iPublishSifOperationInfo;
+        TInt iProgressBarCurrentValue;
+        TInt iProgressBarFinalValue;
         };
 
 }   // namespace Usif