equal
deleted
inserted
replaced
64 { |
64 { |
65 UnloadResources(); |
65 UnloadResources(); |
66 delete iNote; |
66 delete iNote; |
67 delete iNoDescription; |
67 delete iNoDescription; |
68 delete iWrtDescription; |
68 delete iWrtDescription; |
|
69 delete iUninstalling; |
69 } |
70 } |
70 |
71 |
71 // --------------------------------------------------------- |
72 // --------------------------------------------------------- |
72 // CWmResourceLoader::ConstructL |
73 // CWmResourceLoader::ConstructL |
73 // --------------------------------------------------------- |
74 // --------------------------------------------------------- |
82 iNoDescription = StringLoader::LoadL( |
83 iNoDescription = StringLoader::LoadL( |
83 R_QTN_WM_DETAILS_NO_DESCRIPTION, &iEnv ); |
84 R_QTN_WM_DETAILS_NO_DESCRIPTION, &iEnv ); |
84 |
85 |
85 iWrtDescription = StringLoader::LoadL( |
86 iWrtDescription = StringLoader::LoadL( |
86 R_QTN_WM_WIDGET_DETAILS_WRT, &iEnv ); |
87 R_QTN_WM_WIDGET_DETAILS_WRT, &iEnv ); |
|
88 |
|
89 iUninstalling = StringLoader::LoadL( |
|
90 R_QTN_WM_UNINSTALL_TEXT, &iEnv ); |
87 } |
91 } |
88 |
92 |
89 // --------------------------------------------------------- |
93 // --------------------------------------------------------- |
90 // CWmResourceLoader::LoadResourcesL |
94 // CWmResourceLoader::LoadResourcesL |
91 // --------------------------------------------------------- |
95 // --------------------------------------------------------- |
186 iNote->ExecuteLD( *infoMsg ); |
190 iNote->ExecuteLD( *infoMsg ); |
187 CleanupStack::PopAndDestroy( infoMsg ); |
191 CleanupStack::PopAndDestroy( infoMsg ); |
188 } |
192 } |
189 |
193 |
190 // --------------------------------------------------------- |
194 // --------------------------------------------------------- |
|
195 // CWmResourceLoader::QueryPopupL |
|
196 // --------------------------------------------------------- |
|
197 // |
|
198 TBool CWmResourceLoader::QueryPopupL( TInt aResourceId, const TDesC& aString ) |
|
199 { |
|
200 HBufC* queryMsg = LoadStringLC( aResourceId, aString, &iEnv ); |
|
201 TBool resp = iEnv.QueryWinL( *queryMsg, KNullDesC ); |
|
202 CleanupStack::PopAndDestroy( queryMsg ); |
|
203 return resp; |
|
204 } |
|
205 |
|
206 // --------------------------------------------------------- |
191 // CWmResourceLoader::ErrorPopup |
207 // CWmResourceLoader::ErrorPopup |
192 // --------------------------------------------------------- |
208 // --------------------------------------------------------- |
193 // |
209 // |
194 void CWmResourceLoader::ErrorPopup( TInt aErrorCode ) |
210 void CWmResourceLoader::ErrorPopup( TInt aErrorCode ) |
195 { |
211 { |
212 const TDesC& CWmResourceLoader::WrtDescription() |
228 const TDesC& CWmResourceLoader::WrtDescription() |
213 { |
229 { |
214 return *iWrtDescription; |
230 return *iWrtDescription; |
215 } |
231 } |
216 |
232 |
|
233 // --------------------------------------------------------- |
|
234 // CWmResourceLoader::Uninstalling |
|
235 // --------------------------------------------------------- |
|
236 // |
|
237 const TDesC& CWmResourceLoader::Uninstalling() |
|
238 { |
|
239 return *iUninstalling; |
|
240 } |
|
241 |
217 // end of file |
242 // end of file |
218 |
243 |