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.
/**
* 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:
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