diff -r c743ef5928ba -r f966699dea19 taskswitcher/taskswitcherui/taskswitcherapp/inc/tsappui.h --- a/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsappui.h Tue Feb 02 00:04:13 2010 +0200 +++ b/taskswitcher/taskswitcherui/taskswitcherapp/inc/tsappui.h Fri Feb 19 22:42:37 2010 +0200 @@ -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