*/
// EXTERNAL INCLUDES
+#include <dali/integration-api/events/key-event-integ.h>
+#include <dali/integration-api/events/point.h>
#include <dali/integration-api/events/touch-event-combiner.h>
#include <style-monitor.h>
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.
* @param[in] point The touch point information.
* @param[in] timeStamp The time the touch occurred.
*/
- void SendEvent(TouchPoint& point, unsigned long timeStamp);
+ void SendEvent(Integration::Point& point, unsigned long timeStamp);
/**
* Send key event to core.
* @param[in] keyEvent The KeyEvent to send.
*/
- void SendEvent(KeyEvent& keyEvent);
+ void SendEvent(Integration::KeyEvent& keyEvent);
/**
* Send wheel event to core.
/**
* 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:
+
+ // Undefined
+ EventHandler( const EventHandler& eventHandler );
+
+ // Undefined
+ EventHandler& operator=( const EventHandler& eventHandler );
private:
Dali::ClipboardEventNotifier mClipboardEventNotifier; ///< Pointer to the clipboard event notifier
Dali::Clipboard mClipboard;///< Pointer to the clipboard
- struct Impl; ///< Contains Ecore specific information
+ struct Impl; ///< Implementation
Impl* mImpl; ///< Created on construction and destroyed on destruction.
+
+ bool mPaused; ///< The paused state of the adaptor.
};
} // namespace Adaptor