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 ); |
54 void ShowProgressL( const CSifUiAppInfo& aAppInfo, TInt aProgressBarFinalValue, |
53 void ShowProgressL( const CSifUiAppInfo& aAppInfo, TInt aProgressBarFinalValue ); |
55 CSifUi::TInstallingPhase aPhase ); |
54 void IncreaseProgressBarValueL( TInt aIncrement ); |
56 void IncreaseProgressBarValueL( TInt aIncrement ); |
55 TBool IsCancelled(); |
57 TBool IsCancelled(); |
|
58 void ShowCompleteL(); |
|
59 void ShowFailedL( const CSifUiErrorInfo& aErrorInfo ); |
56 void SetButtonVisible( CSifUi::TOptionalButton aButton, TBool aIsVisible ); |
60 void SetButtonVisible( CSifUi::TOptionalButton aButton, TBool aIsVisible ); |
57 void ShowCompleteL(); |
61 TBool ShowGrantCapabilitiesL( const TCapabilitySet& aCapabilities ); |
58 void ShowFailedL( TInt aErrorCode, const TDesC& aErrorMessage, |
62 TBool ShowSingleSelectionL( const TDesC& aTitle, const MDesCArray& aSelectableItems, |
59 const TDesC& aErrorDetails ); |
63 TInt& aSelectedIndex ); |
|
64 TBool ShowMultiSelectionL( const TDesC& aTitle, const MDesCArray& aSelectableItems, |
|
65 RArray<TInt>& aSelectedIndexes ); |
60 |
66 |
61 protected: // from CActive |
67 protected: // from CActive |
62 void DoCancel(); |
68 void DoCancel(); |
63 void RunL(); |
69 void RunL(); |
64 |
70 |
75 void ClearParams(); |
81 void ClearParams(); |
76 CHbSymbianVariantMap* VariantMapL(); |
82 CHbSymbianVariantMap* VariantMapL(); |
77 void ChangeNoteTypeL( TInt aType ); |
83 void ChangeNoteTypeL( TInt aType ); |
78 void AddParamL( const TDesC& aKey, TInt aValue ); |
84 void AddParamL( const TDesC& aKey, TInt aValue ); |
79 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 ); |
80 void AddParamListL( const TDesC& aKey, const MDesCArray& aList ); |
87 void AddParamListL( const TDesC& aKey, const MDesCArray& aList ); |
81 void AddParamsAppInfoL( const CSifUiAppInfo& aAppInfo ); |
88 void AddParamsAppInfoL( const CSifUiAppInfo& aAppInfo ); |
82 void AddParamsCertificatesL(); |
89 void AddParamsCertificatesL(); |
83 void AddParamsHiddenButtonsL(); |
90 void AddParamsHiddenButtonsL(); |
84 void ResendAllInstallationDetailsL(); |
91 void ResendAllInstallationDetailsL(); |
109 HBufC* iSelectableDrives; |
116 HBufC* iSelectableDrives; |
110 TBool iSelectedDriveSet; |
117 TBool iSelectedDriveSet; |
111 TChar iSelectedDrive; |
118 TChar iSelectedDrive; |
112 TInt iProgressBarFinalValue; |
119 TInt iProgressBarFinalValue; |
113 TInt iProgressBarCurrentValue; |
120 TInt iProgressBarCurrentValue; |
|
121 CSifUi::TInstallingPhase iInstallingPhase; |
114 TBool iNoHideProgressButton; |
122 TBool iNoHideProgressButton; |
115 TBool iNoCancelProgressButton; |
123 TBool iNoCancelProgressButton; |
116 TBool iNoShowInAppLibButton; |
124 TBool iNoShowInAppLibButton; |
117 TBool iNoErrorDetailsButton; |
125 TBool iNoErrorDetailsButton; |
118 }; |
126 }; |