44 |
44 |
45 public: // new functions |
45 public: // new functions |
46 virtual void DisplayPreparingInstallL( const TDesC& aFileName ) = 0; |
46 virtual void DisplayPreparingInstallL( const TDesC& aFileName ) = 0; |
47 virtual void DisplayCompleteL() = 0; |
47 virtual void DisplayCompleteL() = 0; |
48 virtual void DisplayFailedL( const CSisxSifPluginErrorHandler& aError ) = 0; |
48 virtual void DisplayFailedL( const CSisxSifPluginErrorHandler& aError ) = 0; |
|
49 virtual void CancelDialogs() = 0; |
49 |
50 |
50 public: // new functions |
51 public: // new functions |
51 void SetInstallParamsL( const CSisxSifPluginInstallParams& aInstallParams ); |
52 void SetInstallParamsL( const CSisxSifPluginInstallParams& aInstallParams ); |
52 void SetMaxInstalledSize( TInt aSize ); |
53 void SetMaxInstalledSize( TInt aSize ); |
53 void SetDriveSelectionRequired( TBool aIsRequired ); |
54 void SetDriveSelectionRequired( TBool aIsRequired ); |
54 TBool IsOcspMandatoryL() const; |
55 TBool IsOcspMandatoryL() const; |
55 |
56 |
56 // functions to publish operation progress |
57 // functions to publish operation progress |
57 void PublishStartL( const CComponentInfo::CNode& aRootNode ); |
58 void PublishStartL( const CComponentInfo::CNode& aRootNode, TSifOperationPhase aPhase ); |
58 void PublishStartL( const CComponentEntry& aEntry ); |
59 void PublishStartL( const CComponentEntry& aEntry, TSifOperationPhase aPhase ); |
59 void PublishProgressL( TSifOperationSubPhase aSubPhase ); |
60 void PublishProgressL( TSifOperationSubPhase aSubPhase ); |
60 void PublishCompletionL(); |
61 void PublishCompletionL(); |
61 |
62 |
62 protected: // new functions |
63 protected: // new functions |
63 void SetErrorL( TInt aErrorCode, TInt aExtErrorCode ); |
64 void SetErrorL( TInt aErrorCode, TInt aExtErrorCode ); |
64 void SetErrorL( TInt aErrorCode, TInt aExtErrorCode, const TDesC& aErrMsgDetails ); |
65 void SetErrorL( TInt aErrorCode, TInt aExtErrorCode, const TDesC& aErrMsgDetails ); |
65 void SetErrorSwiErrorL( Swi::TErrorDialog aType, const TDesC& aParam ); |
66 void SetErrorSwiErrorL( Swi::TErrorDialog aType, const TDesC& aParam ); |
66 void SetOcspErrorL( Swi::TRevocationDialogMessage aMessage ); |
67 void SetOcspErrorL( Swi::TRevocationDialogMessage aMessage ); |
67 TBool ShowQuestionL( const TDesC& aText ) const; |
68 TBool ShowQuestionL( const TDesC& aText ) const; |
68 void ShowQuestionWithContinueL( const TDesC& aText ) const; |
69 void ShowQuestionWithContinueL( const TDesC& aText ) const; |
|
70 static TBool CompareDriveLetters( const TChar& aDriveFirst, const TChar& aDriveSecond ); |
|
71 |
|
72 private: // new functions |
|
73 void SetLocalisedErrorMessageText( const TDesC& aLogicalName ); |
69 |
74 |
70 protected: // data |
75 protected: // data |
71 RFs& iFs; |
76 RFs& iFs; |
72 CSisxSifPluginErrorHandler& iErrorHandler; |
77 CSisxSifPluginErrorHandler& iErrorHandler; |
73 TInt iMaxInstalledSize; |
78 TInt iMaxInstalledSize; |