44 public: // constructor and destructor |
44 public: // constructor and destructor |
45 static CSifUiPrivate* NewL(); |
45 static CSifUiPrivate* NewL(); |
46 ~CSifUiPrivate(); |
46 ~CSifUiPrivate(); |
47 |
47 |
48 public: // new functions |
48 public: // new functions |
|
49 void ShowPreparingL(); |
|
50 void SetMemorySelectionL( const RArray<TInt>& aDriveNumbers ); |
|
51 void SetCertificateInfoL( const RPointerArray<CSifUiCertificateInfo>& aCertificates ); |
49 TBool ShowConfirmationL( const CSifUiAppInfo& aAppInfo ); |
52 TBool ShowConfirmationL( const CSifUiAppInfo& aAppInfo ); |
50 void SetMemorySelectionL( const RArray<TInt>& aDriveNumbers ); |
|
51 TInt SelectedDrive( TInt& aDriveNumber ); |
53 TInt SelectedDrive( TInt& aDriveNumber ); |
52 void SetCertificateInfoL( const RPointerArray<CSifUiCertificateInfo>& aCertificates ); |
|
53 void ShowProgressL( const CSifUiAppInfo& aAppInfo, TInt aProgressBarFinalValue, |
54 void ShowProgressL( const CSifUiAppInfo& aAppInfo, TInt aProgressBarFinalValue, |
54 CSifUi::TInstallingPhase aPhase ); |
55 CSifUi::TInstallingPhase aPhase ); |
55 void IncreaseProgressBarValueL( TInt aIncrement ); |
56 void IncreaseProgressBarValueL( TInt aIncrement ); |
56 TBool IsCancelled(); |
57 TBool IsCancelled(); |
|
58 void ShowCompleteL(); |
|
59 void ShowFailedL( const CSifUiErrorInfo& aErrorInfo ); |
57 void SetButtonVisible( CSifUi::TOptionalButton aButton, TBool aIsVisible ); |
60 void SetButtonVisible( CSifUi::TOptionalButton aButton, TBool aIsVisible ); |
58 void ShowCompleteL(); |
61 TBool ShowGrantCapabilitiesL( const TCapabilitySet& aCapabilities ); |
59 void ShowFailedL( TInt aErrorCode, const TDesC& aErrorMessage, |
62 TBool ShowSingleSelectionL( const TDesC& aTitle, const MDesCArray& aSelectableItems, |
60 const TDesC& aErrorDetails ); |
63 TInt& aSelectedIndex ); |
|
64 TBool ShowMultiSelectionL( const TDesC& aTitle, const MDesCArray& aSelectableItems, |
|
65 RArray<TInt>& aSelectedIndexes ); |
61 |
66 |
62 protected: // from CActive |
67 protected: // from CActive |
63 void DoCancel(); |
68 void DoCancel(); |
64 void RunL(); |
69 void RunL(); |
65 |
70 |
76 void ClearParams(); |
81 void ClearParams(); |
77 CHbSymbianVariantMap* VariantMapL(); |
82 CHbSymbianVariantMap* VariantMapL(); |
78 void ChangeNoteTypeL( TInt aType ); |
83 void ChangeNoteTypeL( TInt aType ); |
79 void AddParamL( const TDesC& aKey, TInt aValue ); |
84 void AddParamL( const TDesC& aKey, TInt aValue ); |
80 void AddParamL( const TDesC& aKey, const TDesC& aValue ); |
85 void AddParamL( const TDesC& aKey, const TDesC& aValue ); |
|
86 void AddParamBinaryL( const TDesC& aKey, const CBufBase& aBinary ); |
81 void AddParamListL( const TDesC& aKey, const MDesCArray& aList ); |
87 void AddParamListL( const TDesC& aKey, const MDesCArray& aList ); |
82 void AddParamsAppInfoL( const CSifUiAppInfo& aAppInfo ); |
88 void AddParamsAppInfoL( const CSifUiAppInfo& aAppInfo ); |
83 void AddParamsCertificatesL(); |
89 void AddParamsCertificatesL(); |
84 void AddParamsHiddenButtonsL(); |
90 void AddParamsHiddenButtonsL(); |
85 void ResendAllInstallationDetailsL(); |
91 void ResendAllInstallationDetailsL(); |