aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/system.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/common/system.h b/common/system.h
index 413fe326a7..2a651bba2b 100644
--- a/common/system.h
+++ b/common/system.h
@@ -52,6 +52,7 @@ class TimerManager;
class SeekableReadStream;
class WriteStream;
class HardwareKeySet;
+class Keymap;
}
class AudioCDManager;
@@ -941,6 +942,16 @@ public:
*/
virtual Common::HardwareKeySet *getHardwareKeySet() { return 0; }
+ /**
+ * Return a platform-specific global keymap
+ *
+ * @return Keymap with actions appropriate for the platform
+ *
+ * The caller will use and delete the return object.
+ *
+ * See keymapper documentation for further reference.
+ */
+ virtual Common::Keymap *getGlobalKeymap() { return 0; }
//@}