--- a/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsappui.h Mon Mar 08 21:43:12 2010 +0000
+++ b/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsappui.h Sun Mar 14 13:08:57 2010 +0000
@@ -44,6 +44,16 @@
{
public:
+ enum {
+ //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ //TODO make maping to NGA transition id
+ //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+ ENoneTransition = 0,
+ EForegroundTransition = 3,
+ EBackgroundTransition = 4,
+ EActivationTransition = 5
+
+ };
/**
* Perform the second phase construction of a CTsAppUi object
* this needs to be public due to the way the framework constructs the AppUi
@@ -80,6 +90,12 @@
void MoveAppToForeground( TUint aTransitionType );
void MoveAppToBackground( TUint aTransitionType );
+ /**
+ * Functions for showing/hiding popups.
+ */
+ void RequestPopUpL();
+ void DisablePopUpL();
+
public:
/**
* From MTsCenrepChangeObserver
@@ -139,6 +155,9 @@
// Listener for app key long press P&S, owned
CTsPropertyListener* iPropListener;
+ // Listener for orientation layout changes
+ CTsPropertyListener* iLayoutListener;
+
// Tells if Taskswitcher is in foreground or in background
TBool iForeground;
@@ -159,6 +178,13 @@
* Cenrep listener for the tfxserver enabled/disabled key.
*/
CTsCenrepListener* iThemeEffectsEnabledWatcher;
+
+ // Owned window for showing controls
+ RWindowGroup iWg;
+
+ // Monitors popup mode
+ TBool iIsPopUpShown;
+
};
#endif // TSAPPUI_H