diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/events.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/common/events.h b/common/events.h index c4f05b8450..bfda389bbe 100644 --- a/common/events.h +++ b/common/events.h @@ -168,6 +168,26 @@ public: */ virtual int shouldQuit() const = 0; + /** + * Should we return to the launcher? + */ + virtual int shouldRTL() const = 0; + + /** + * Sets the quit variable to true + */ + virtual void setQuit() = 0; + + /** + * Set the RTL flag, we should return to the launcher + */ + virtual void setRTL() = 0; + + /** + * We have returned to the launcher, and the RTL should be reset to false + */ + virtual void resetRTL() = 0; + // Optional: check whether a given key is currently pressed ???? //virtual bool isKeyPressed(int keycode) = 0; |