--- a/idlehomescreen/widgetmanager/src/wmresourceloader.cpp Tue Jan 26 11:48:23 2010 +0200
+++ b/idlehomescreen/widgetmanager/src/wmresourceloader.cpp Tue Feb 02 00:04:13 2010 +0200
@@ -66,6 +66,7 @@
delete iNote;
delete iNoDescription;
delete iWrtDescription;
+ delete iUninstalling;
}
// ---------------------------------------------------------
@@ -84,6 +85,9 @@
iWrtDescription = StringLoader::LoadL(
R_QTN_WM_WIDGET_DETAILS_WRT, &iEnv );
+
+ iUninstalling = StringLoader::LoadL(
+ R_QTN_WM_UNINSTALL_TEXT, &iEnv );
}
// ---------------------------------------------------------
@@ -188,6 +192,18 @@
}
// ---------------------------------------------------------
+// CWmResourceLoader::QueryPopupL
+// ---------------------------------------------------------
+//
+TBool CWmResourceLoader::QueryPopupL( TInt aResourceId, const TDesC& aString )
+ {
+ HBufC* queryMsg = LoadStringLC( aResourceId, aString, &iEnv );
+ TBool resp = iEnv.QueryWinL( *queryMsg, KNullDesC );
+ CleanupStack::PopAndDestroy( queryMsg );
+ return resp;
+ }
+
+// ---------------------------------------------------------
// CWmResourceLoader::ErrorPopup
// ---------------------------------------------------------
//
@@ -214,5 +230,14 @@
return *iWrtDescription;
}
+// ---------------------------------------------------------
+// CWmResourceLoader::Uninstalling
+// ---------------------------------------------------------
+//
+const TDesC& CWmResourceLoader::Uninstalling()
+ {
+ return *iUninstalling;
+ }
+
// end of file