appinstaller/AppinstUi/sisxsifplugin/inc/sisxsifpluginuihandlerbase.h
changeset 55 ac7f90a6ff4c
parent 44 329d304c1aa1
child 58 67f2119dc623
equal deleted inserted replaced
50:c6e8afe0ba85 55:ac7f90a6ff4c
    26 #include <usif/sif/sifnotification.h>   // TSifOperationSubPhase, TErrorCategory
    26 #include <usif/sif/sifnotification.h>   // TSifOperationSubPhase, TErrorCategory
    27 
    27 
    28 
    28 
    29 namespace Usif
    29 namespace Usif
    30 {
    30 {
       
    31     class CComponentEntry;
    31     class CSisxSifPluginInstallParams;
    32     class CSisxSifPluginInstallParams;
    32     class CSisxSifPluginErrorHandler;
    33     class CSisxSifPluginErrorHandler;
    33 
    34 
    34 
    35 
    35     /**
    36     /**
    48 
    49 
    49     public:     // new functions
    50     public:     // new functions
    50         void SetInstallParamsL( const CSisxSifPluginInstallParams& aInstallParams );
    51         void SetInstallParamsL( const CSisxSifPluginInstallParams& aInstallParams );
    51         void SetMaxInstalledSize( TInt aSize );
    52         void SetMaxInstalledSize( TInt aSize );
    52         void SetDriveSelectionRequired( TBool aIsRequired );
    53         void SetDriveSelectionRequired( TBool aIsRequired );
       
    54         TBool IsOcspMandatoryL() const;
       
    55 
       
    56         // functions to publish operation progress
    53         void PublishStartL( const CComponentInfo::CNode& aRootNode );
    57         void PublishStartL( const CComponentInfo::CNode& aRootNode );
    54         void PublishProgressL( TSifOperationPhase aPhase, TSifOperationSubPhase aSubPhase,
    58         void PublishStartL( const CComponentEntry& aEntry );
    55                 TInt aCurrentProgress, TInt aTotal );
    59         void PublishProgressL( TSifOperationSubPhase aSubPhase );
    56         void PublishCompletionL( const CSisxSifPluginErrorHandler& aError );
    60         void PublishCompletionL();
    57 
    61 
    58     protected:  // new functions
    62     protected:  // new functions
    59         void SetDisplayErrorL( Swi::TErrorDialog aType, const TDesC& aParam );
    63         void SetDisplayErrorL( Swi::TErrorDialog aType, const TDesC& aParam );
       
    64         void SetOcspErrorL( Swi::TRevocationDialogMessage aMessage );
       
    65         TBool ShowQuestionL( const TDesC& aText ) const;
    60 
    66 
    61     protected:	// data
    67     protected:	// data
    62         RFs& iFs;
    68         RFs& iFs;
    63         CSisxSifPluginErrorHandler& iErrorHandler;
    69         CSisxSifPluginErrorHandler& iErrorHandler;
    64         TInt iMaxInstalledSize;
    70         TInt iMaxInstalledSize;
    65         TBool iIsDriveSelectionRequired;
    71         TBool iIsDriveSelectionRequired;
    66         CSisxSifPluginInstallParams* iInstallParams;
    72         CSisxSifPluginInstallParams* iInstallParams;
       
    73         
       
    74         // members for publishing operation progress
       
    75         CPublishSifOperationInfo* iPublishSifOperationInfo;
       
    76         TSifOperationPhase iOperationPhase;
    67         HBufC* iGlobalComponentId;
    77         HBufC* iGlobalComponentId;
    68         CPublishSifOperationInfo* iPublishSifOperationInfo;
    78         TInt iProgressBarCurrentValue;
       
    79         TInt iProgressBarFinalValue;
    69         };
    80         };
    70 
    81 
    71 }   // namespace Usif
    82 }   // namespace Usif
    72 
    83 
    73 #endif      // C_SISXSIFPLUGUIHANDLERBASE_H
    84 #endif      // C_SISXSIFPLUGUIHANDLERBASE_H