taskswitcher/taskswitcherui/taskswitcherapp/inc/tseventcontroler.h
branchRCL_3
changeset 12 9674c1a575e9
parent 11 ff572dfe6d86
child 17 b8fae6b8a148
--- a/taskswitcher/taskswitcherui/taskswitcherapp/inc/tseventcontroler.h	Fri Mar 12 15:41:49 2010 +0200
+++ b/taskswitcher/taskswitcherui/taskswitcherapp/inc/tseventcontroler.h	Mon Mar 15 12:39:47 2010 +0200
@@ -161,6 +161,14 @@
      */
     void StopAnimation();
     
+    /**
+     * Enables/disables event handling based on passed value.
+     * 
+     * @param  aEnable  ETrue - enables event handling
+     *                  EFalse - disables event handling
+     */
+    void EnableEventHandling( TBool aEnable );
+    
 private:
     /**
      * Controler observer. Not own
@@ -176,6 +184,11 @@
      * Physics helper. Own
      */
     CTsPhysicsEngine* iPhysicsHelper;
+    
+    /**
+     * Flag to enable/disable event handling
+     */
+    TBool iHandleEvents;
     };
 
 #endif // TSEVENTCONTROLER_H