--- 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 <e32base.h>
#include <akncapserveralternatefsplugin.h>
+#include <apgcli.h>
/**
* 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