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 SetErrorL( TInt aErrorCode, TInt aExtErrorCode ); |
|
64 void SetErrorL( TInt aErrorCode, TInt aExtErrorCode, const TDesC& aErrMsgDetails ); |
|
65 void SetErrorSwiErrorL( Swi::TErrorDialog aType, const TDesC& aParam ); |
|
66 void SetOcspErrorL( Swi::TRevocationDialogMessage aMessage ); |
|
67 TBool ShowQuestionL( const TDesC& aText ) const; |
|
68 void ShowQuestionWithContinueL( const TDesC& aText ) const; |
60 |
69 |
61 protected: // data |
70 protected: // data |
62 RFs& iFs; |
71 RFs& iFs; |
63 CSisxSifPluginErrorHandler& iErrorHandler; |
72 CSisxSifPluginErrorHandler& iErrorHandler; |
64 TInt iMaxInstalledSize; |
73 TInt iMaxInstalledSize; |
65 TBool iIsDriveSelectionRequired; |
74 TBool iIsDriveSelectionRequired; |
66 CSisxSifPluginInstallParams* iInstallParams; |
75 CSisxSifPluginInstallParams* iInstallParams; |
|
76 |
|
77 // members for publishing operation progress |
|
78 CPublishSifOperationInfo* iPublishSifOperationInfo; |
|
79 TSifOperationPhase iOperationPhase; |
67 HBufC* iGlobalComponentId; |
80 HBufC* iGlobalComponentId; |
68 CPublishSifOperationInfo* iPublishSifOperationInfo; |
81 TInt iProgressBarCurrentValue; |
|
82 TInt iProgressBarFinalValue; |
69 }; |
83 }; |
70 |
84 |
71 } // namespace Usif |
85 } // namespace Usif |
72 |
86 |
73 #endif // C_SISXSIFPLUGUIHANDLERBASE_H |
87 #endif // C_SISXSIFPLUGUIHANDLERBASE_H |