diff options
Diffstat (limited to 'common/rfb/KeyRemapper.h')
-rw-r--r-- | common/rfb/KeyRemapper.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/common/rfb/KeyRemapper.h b/common/rfb/KeyRemapper.h index 89853721..71ef0a87 100644 --- a/common/rfb/KeyRemapper.h +++ b/common/rfb/KeyRemapper.h @@ -23,20 +23,17 @@ #include <stdint.h> -namespace os { class Mutex; } - namespace rfb { class KeyRemapper { public: - KeyRemapper(const char* m=""); + KeyRemapper(); ~KeyRemapper(); - void setMapping(const char* m); + void setMapping(const std::map<uint32_t,uint32_t>& m); uint32_t remapKey(uint32_t key) const; static KeyRemapper defInstance; private: std::map<uint32_t,uint32_t> mapping; - os::Mutex* mutex; }; }; |