--- a/widgets/widgetapp/src/WidgetUiAppUi.cpp Tue May 11 17:13:44 2010 +0300
+++ b/widgets/widgetapp/src/WidgetUiAppUi.cpp Tue May 25 13:52:38 2010 +0300
@@ -400,7 +400,22 @@
TApaTask task = taskList.FindApp( wapUid );
task.SendToBackground();
}
-
+
+
+// -----------------------------------------------------------------------------
+// CWidgetUiAppUi::SendAppToForeground
+// force the application to the foreground
+//
+// -----------------------------------------------------------------------------
+//
+void CWidgetUiAppUi::SendAppToForeground()
+ {
+ TApaTaskList taskList( CEikonEnv::Static()->WsSession() );
+ TUid wapUid( TUid::Uid( KWidgetAppUid ) );
+ TApaTask task = taskList.FindApp( wapUid );
+ task.BringToForeground();
+ }
+
// -----------------------------------------------------------------------------
// CWidgetUiAppUi::SetRotationSupport()
// check to see if screen oriantation can be changed