taskswitcher/taskswitcherui/taskswitcherapp/inc/tseventcontroler.h
branchRCL_3
changeset 12 9674c1a575e9
parent 11 ff572dfe6d86
child 17 b8fae6b8a148
equal deleted inserted replaced
11:ff572dfe6d86 12:9674c1a575e9
   159     /**
   159     /**
   160      * Stops currently ongoing animation
   160      * Stops currently ongoing animation
   161      */
   161      */
   162     void StopAnimation();
   162     void StopAnimation();
   163     
   163     
       
   164     /**
       
   165      * Enables/disables event handling based on passed value.
       
   166      * 
       
   167      * @param  aEnable  ETrue - enables event handling
       
   168      *                  EFalse - disables event handling
       
   169      */
       
   170     void EnableEventHandling( TBool aEnable );
       
   171     
   164 private:
   172 private:
   165     /**
   173     /**
   166      * Controler observer. Not own
   174      * Controler observer. Not own
   167      */
   175      */
   168     MTsEventControlerObserver& iObserver;
   176     MTsEventControlerObserver& iObserver;
   174     
   182     
   175     /**
   183     /**
   176      * Physics helper. Own
   184      * Physics helper. Own
   177      */
   185      */
   178     CTsPhysicsEngine* iPhysicsHelper;
   186     CTsPhysicsEngine* iPhysicsHelper;
       
   187     
       
   188     /**
       
   189      * Flag to enable/disable event handling
       
   190      */
       
   191     TBool iHandleEvents;
   179     };
   192     };
   180 
   193 
   181 #endif // TSEVENTCONTROLER_H
   194 #endif // TSEVENTCONTROLER_H