projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Dali responding to accessibility events when backgrounded
[platform/core/uifw/dali-adaptor.git]
/
adaptors
/
common
/
events
/
event-handler.h
diff --git
a/adaptors/common/events/event-handler.h
b/adaptors/common/events/event-handler.h
index
ed80e69
..
67b6bf8
100644
(file)
--- a/
adaptors/common/events/event-handler.h
+++ b/
adaptors/common/events/event-handler.h
@@
-95,9
+95,14
@@
public:
void FeedEvent( Integration::Event& event );
/**
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.
/**
* Sets the Drag & Drop detector.
@@
-153,7
+158,13
@@
private:
/**
* Inform rotation observer of rotation prepare event
*/
/**
* 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:
private:
@@
-171,6
+182,8
@@
private:
struct Impl; ///< Contains Ecore specific information
Impl* mImpl; ///< Created on construction and destroyed on destruction.
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
};
} // namespace Adaptor