aboutsummaryrefslogtreecommitdiff
path: root/backends/common/keymapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/common/keymapper.h')
-rw-r--r--backends/common/keymapper.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/backends/common/keymapper.h b/backends/common/keymapper.h
index 3252d336e1..bbdd0eaca6 100644
--- a/backends/common/keymapper.h
+++ b/backends/common/keymapper.h
@@ -1,12 +1,16 @@
#ifndef COMMON_KEYMAPPER
#define COMMON_KEYMAPPER
-#include "backends/common/keymap.h"
+#include "common/events.h"
#include "common/list.h"
+
namespace Common {
+struct HardwareKey;
+class HardwareKeySet;
class KeymapManager;
+class Keymap;
class Keymapper {
public:
@@ -20,11 +24,6 @@ public:
void registerHardwareKeySet(HardwareKeySet *keys);
/**
- * Get the HardwareKeySet that is registered with the Keymapper
- */
- const HardwareKeySet *getHardwareKeySet() const;
-
- /**
* Add a keymap to the global domain.
* If a saved key setup exists for it in the ini file it will be used.
* Else, the key setup will be automatically mapped.
@@ -88,8 +87,6 @@ private:
Keymap *_currentMap;
- const HardwareKeySet *_hardwareKeys;
-
};
} // end of namespace Common