taskswitcher/taskswitcherui/taskswitcherappecom/inc/tsappecom.h
branchRCL_3
changeset 102 ba63c83f4716
parent 88 3321d3e205b6
equal deleted inserted replaced
93:b01126ce0bec 102:ba63c83f4716
    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>
       
    25 
    24 
    26 /**
    25 /**
    27  * Taskswitcher ecom plugin which is loaded by AknCapServer as an alternate Fast 
    26  * Taskswitcher ecom plugin which is loaded by AknCapServer as an alternate Fast 
    28  * Swap. Uses P&S to show/dismiss the Taskswitcher application. 
    27  * Swap. Uses P&S to show/dismiss the Taskswitcher application. 
    29  */
    28  */
   101     
   100     
   102     /**
   101     /**
   103      * Defines the P&S property.
   102      * Defines the P&S property.
   104      */
   103      */
   105     void DefineTaskswitcherStateProperty();
   104     void DefineTaskswitcherStateProperty();
   106     
   105 
   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;
       
   128     };
   106     };
   129     
   107     
   130 #endif // TSAPPECOM_H
   108 #endif // TSAPPECOM_H