X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fcommon%2Fevents%2Fevent-handler.h;h=67b6bf823a5792ea0d08127cf1ffdf6266bf82a0;hb=2c4b392b65a4a8b408e4691a0022d9a9e3bc5430;hp=ed80e6953e9f8f00e3fc401ad427bad96fe2da9c;hpb=eeff0e3d551e3a14aa2c93688f8894e2d28decbe;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/common/events/event-handler.h b/adaptors/common/events/event-handler.h index ed80e69..67b6bf8 100644 --- a/adaptors/common/events/event-handler.h +++ b/adaptors/common/events/event-handler.h @@ -95,9 +95,14 @@ public: void FeedEvent( Integration::Event& event ); /** - * Resets the event handler. + * Called when the adaptor is paused. */ - void Reset(); + void Pause(); + + /** + * Called when the adaptor is resumed (from pause). + */ + void Resume(); /** * Sets the Drag & Drop detector. @@ -153,7 +158,13 @@ private: /** * Inform rotation observer of rotation prepare event */ - void SendRotationRequestEvent( ); + void SendRotationRequestEvent(); + + /** + * Resets the event handler. + * Called when the adaptor is paused or resumed. + */ + void Reset(); private: @@ -171,6 +182,8 @@ private: struct Impl; ///< Contains Ecore specific information Impl* mImpl; ///< Created on construction and destroyed on destruction. + + bool mPaused; ///< The paused state of the adaptor. }; } // namespace Adaptor