diff options
author | Tarek Soliman | 2012-02-09 01:26:29 -0600 |
---|---|---|
committer | Tarek Soliman | 2012-02-12 13:28:13 -0600 |
commit | 705761011d24f08eb56add90f6dfa605b36ac8ee (patch) | |
tree | 30697dbbf1710e6e0b343e03f31c094fa4c0436d /common | |
parent | e52f75eaa40b6a8f6f0db3a14a7dabf2e54506d3 (diff) | |
download | scummvm-rg350-705761011d24f08eb56add90f6dfa605b36ac8ee.tar.gz scummvm-rg350-705761011d24f08eb56add90f6dfa605b36ac8ee.tar.bz2 scummvm-rg350-705761011d24f08eb56add90f6dfa605b36ac8ee.zip |
KEYMAPPER: Allow ports to define their own global keymap
Diffstat (limited to 'common')
-rw-r--r-- | common/system.h | 11 |
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; } //@} |