taskswitcher/taskswitcherui/taskswitcherappecom/inc/tsappecom.h
branchRCL_3
changeset 88 3321d3e205b6
parent 4 4d54b72983ae
child 102 ba63c83f4716
equal deleted inserted replaced
83:5456b4e8b3a8 88:3321d3e205b6
    19 #ifndef TSAPPECOM_H
    19 #ifndef TSAPPECOM_H
    20 #define TSAPPECOM_H
    20 #define TSAPPECOM_H
    21 
    21 
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 #include <akncapserveralternatefsplugin.h>
    23 #include <akncapserveralternatefsplugin.h>
       
    24 #include <apgcli.h>
    24 
    25 
    25 /**
    26 /**
    26  * Taskswitcher ecom plugin which is loaded by AknCapServer as an alternate Fast 
    27  * Taskswitcher ecom plugin which is loaded by AknCapServer as an alternate Fast 
    27  * Swap. Uses P&S to show/dismiss the Taskswitcher application. 
    28  * Swap. Uses P&S to show/dismiss the Taskswitcher application. 
    28  */
    29  */
   100     
   101     
   101     /**
   102     /**
   102      * Defines the P&S property.
   103      * Defines the P&S property.
   103      */
   104      */
   104     void DefineTaskswitcherStateProperty();
   105     void DefineTaskswitcherStateProperty();
   105 
   106     
       
   107     /**
       
   108      * Checks if Task Switcher is running.
       
   109      */
       
   110     TBool IsTaskSwitcherStarted();
       
   111     
       
   112     /**
       
   113      * Starts Task Switche app by calling StartTaskSwitcherL.
       
   114      * 
       
   115      * @return KErrNone if succesful or error code.
       
   116      */
       
   117     TInt StartTaskSwitcher();
       
   118     
       
   119     /**
       
   120      * Starts Task Switche app.
       
   121      * 
       
   122      * @return KErrNone if succesful or error code.
       
   123      */
       
   124     TInt StartTaskSwitcherL();
       
   125     
       
   126 private:
       
   127     RApaLsSession iApaLsSession;
   106     };
   128     };
   107     
   129     
   108 #endif // TSAPPECOM_H
   130 #endif // TSAPPECOM_H