aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/linuxmoto/linuxmoto-sdl.h
diff options
context:
space:
mode:
authorJohannes Schickel2012-02-13 01:20:02 +0100
committerJohannes Schickel2012-02-13 01:20:02 +0100
commitd811240a9d38098f5b1f77b7d8dbef7a947f9a67 (patch)
treee2c904f96cbfa725bb70f378a82d576386a4db3e /backends/platform/linuxmoto/linuxmoto-sdl.h
parent143363d5b6baef14898ee0f41e3735de2048761a (diff)
downloadscummvm-rg350-d811240a9d38098f5b1f77b7d8dbef7a947f9a67.tar.gz
scummvm-rg350-d811240a9d38098f5b1f77b7d8dbef7a947f9a67.tar.bz2
scummvm-rg350-d811240a9d38098f5b1f77b7d8dbef7a947f9a67.zip
ALL: Enable Keymapper specific OSystem API only when the Keymapper is enabled.
Diffstat (limited to 'backends/platform/linuxmoto/linuxmoto-sdl.h')
-rw-r--r--backends/platform/linuxmoto/linuxmoto-sdl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/linuxmoto/linuxmoto-sdl.h b/backends/platform/linuxmoto/linuxmoto-sdl.h
index 97262ccbca..9a0be56e11 100644
--- a/backends/platform/linuxmoto/linuxmoto-sdl.h
+++ b/backends/platform/linuxmoto/linuxmoto-sdl.h
@@ -29,8 +29,10 @@ class OSystem_LINUXMOTO : public OSystem_POSIX {
public:
virtual void initBackend();
+#ifdef ENABLE_KEYMAPPER
// FIXME: This just calls parent methods, is it needed?
virtual Common::HardwareKeySet *getHardwareKeySet();
+#endif
};
#endif