aboutsummaryrefslogtreecommitdiffstats
path: root/vncviewer/KeyboardMacOS.h
diff options
context:
space:
mode:
Diffstat (limited to 'vncviewer/KeyboardMacOS.h')
-rw-r--r--vncviewer/KeyboardMacOS.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/vncviewer/KeyboardMacOS.h b/vncviewer/KeyboardMacOS.h
index d7626b67..033c8539 100644
--- a/vncviewer/KeyboardMacOS.h
+++ b/vncviewer/KeyboardMacOS.h
@@ -23,10 +23,8 @@
#ifdef __OBJC__
@class NSEvent;
-@class NSString;
#else
class NSEvent;
-class NSString;
#endif
class KeyboardMacOS : public Keyboard
@@ -38,6 +36,7 @@ public:
bool isKeyboardReset(const void* event) override;
bool handleEvent(const void* event) override;
+ std::list<uint32_t> translateToKeySyms(int systemKeyCode) override;
unsigned getLEDState() override;
void setLEDState(unsigned state) override;
@@ -48,8 +47,7 @@ protected:
uint32_t translateSystemKeyCode(int systemKeyCode);
unsigned getSystemKeyCode(const NSEvent* nsevent);
- NSString* keyTranslate(unsigned keyCode, unsigned modifierFlags);
- uint32_t translateEventKeysym(const NSEvent* nsevent);
+ uint32_t translateToKeySym(unsigned keyCode, unsigned modifierFlags);
int openHID(unsigned int* ioc);
int getModifierLockState(int modifier, bool* on);