diff -r 5456b4e8b3a8 -r 3321d3e205b6 taskswitcher/taskswitcherui/taskswitcherappecom/inc/tsappecom.h --- a/taskswitcher/taskswitcherui/taskswitcherappecom/inc/tsappecom.h Wed Sep 01 12:32:46 2010 +0100 +++ b/taskswitcher/taskswitcherui/taskswitcherappecom/inc/tsappecom.h Tue Sep 14 20:58:58 2010 +0300 @@ -21,6 +21,7 @@ #include #include +#include /** * Taskswitcher ecom plugin which is loaded by AknCapServer as an alternate Fast @@ -102,7 +103,28 @@ * Defines the P&S property. */ void DefineTaskswitcherStateProperty(); - + + /** + * Checks if Task Switcher is running. + */ + TBool IsTaskSwitcherStarted(); + + /** + * Starts Task Switche app by calling StartTaskSwitcherL. + * + * @return KErrNone if succesful or error code. + */ + TInt StartTaskSwitcher(); + + /** + * Starts Task Switche app. + * + * @return KErrNone if succesful or error code. + */ + TInt StartTaskSwitcherL(); + +private: + RApaLsSession iApaLsSession; }; #endif // TSAPPECOM_H