taskswitcher/taskswitcherui/taskswitcherapp/inc/tsappui.h
branchRCL_3
changeset 28 d721605b30d0
parent 26 1b758917cafc
equal deleted inserted replaced
26:1b758917cafc 28:d721605b30d0
   109     /**
   109     /**
   110      * Checks if task switcher is in foreground
   110      * Checks if task switcher is in foreground
   111      */
   111      */
   112     TBool IsForeground() const;
   112     TBool IsForeground() const;
   113     
   113     
       
   114     /**
       
   115      * Checks if delayed foreground launch is taking place.
       
   116      * 
       
   117      * @return  ETrue if delayed foreground launch is in progress
       
   118      */
       
   119     TBool DelayedForegroundLaunched();
       
   120     
   114 public:
   121 public:
   115     /**
   122     /**
   116      * From MTsCenrepChangeObserver
   123      * From MTsCenrepChangeObserver
   117      */
   124      */
   118     void CenrepChanged( TUint32 aKey, TInt aNewValue );
   125     void CenrepChanged( TUint32 aKey, TInt aNewValue );
   174      *                             group id
   181      *                             group id
   175      */
   182      */
   176     TInt WgIdOfUnderlyingAppL( TBool aIgnoreParentChild );
   183     TInt WgIdOfUnderlyingAppL( TBool aIgnoreParentChild );
   177 
   184 
   178     static TInt GoToBackgroundTimerCallback( TAny* aParam );
   185     static TInt GoToBackgroundTimerCallback( TAny* aParam );
       
   186     static TInt DelayedForegroundCallback( TAny* aParam );
   179     
   187     
   180     /*
   188     /*
   181      * Returns id of top parent window group for embeded window group.
   189      * Returns id of top parent window group for embeded window group.
   182      * @param aChildWg embeded window group id
   190      * @param aChildWg embeded window group id
   183      * @return top parent window group id or 0 in case od standlalone 
   191      * @return top parent window group id or 0 in case od standlalone 
   196      * switcher window group.
   204      * switcher window group.
   197      * This method considers also case, when camera window group is hidden.
   205      * This method considers also case, when camera window group is hidden.
   198      * @return camera's window group id.
   206      * @return camera's window group id.
   199      */
   207      */
   200     TInt CheckForUnderlyingHiddenAppsL();
   208     TInt CheckForUnderlyingHiddenAppsL();
       
   209     
       
   210     /**
       
   211      * Checks if underlying application is multimedia application.
       
   212      * 
       
   213      * @return  ETrue if aplication on top of the app stack is multimedia application.
       
   214      *          Currently it recognises only camera app as multimedia app.
       
   215      */
       
   216     TBool IsUnderlyingAppMultimediaL();
   201 
   217 
   202 private:
   218 private:
   203 
   219 
   204     // Taskswitcher application view, owned
   220     // Taskswitcher application view, owned
   205     CTsAppView* iAppView;
   221     CTsAppView* iAppView;
   218 
   234 
   219     // Device state
   235     // Device state
   220     CTsDeviceState* iDeviceState;
   236     CTsDeviceState* iDeviceState;
   221 
   237 
   222     CPeriodic* iGoToBackgroundTimer;
   238     CPeriodic* iGoToBackgroundTimer;
       
   239     
       
   240     // Delayed launch handling variables
       
   241     CPeriodic* iForegroundDelayTimer;
       
   242     TBool iForegroundDelayed;
       
   243     TBool iDelayedForegroundInProgress;
   223     
   244     
   224     TBool iEffectsEnabled;
   245     TBool iEffectsEnabled;
   225     
   246     
   226     /**
   247     /**
   227      * Cenrep listener for the tfxserver enabled/disabled key.
   248      * Cenrep listener for the tfxserver enabled/disabled key.