aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorChristopher Page2008-07-02 00:30:49 +0000
committerChristopher Page2008-07-02 00:30:49 +0000
commita14a0d16c1d3038b320a21246443e6d855fc2787 (patch)
tree2bb11d9a13844f21e972aa7c09f5cf5047dcbe62 /common
parent718a85e30d26a8b3167842fe9ea24b648647fa72 (diff)
downloadscummvm-rg350-a14a0d16c1d3038b320a21246443e6d855fc2787.tar.gz
scummvm-rg350-a14a0d16c1d3038b320a21246443e6d855fc2787.tar.bz2
scummvm-rg350-a14a0d16c1d3038b320a21246443e6d855fc2787.zip
Changes to implementation of the GMM
svn-id: r32872
Diffstat (limited to 'common')
-rw-r--r--common/events.h20
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;