diff options
Diffstat (limited to 'common/rfb/SMsgHandler.h')
-rw-r--r-- | common/rfb/SMsgHandler.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/common/rfb/SMsgHandler.h b/common/rfb/SMsgHandler.h index 20dc066f..cff8b1bd 100644 --- a/common/rfb/SMsgHandler.h +++ b/common/rfb/SMsgHandler.h @@ -27,14 +27,13 @@ #include <rfb/PixelFormat.h> #include <rfb/ClientParams.h> -#include <rfb/InputHandler.h> #include <rfb/ScreenSet.h> namespace rdr { class InStream; } namespace rfb { - class SMsgHandler : public InputHandler { + class SMsgHandler { public: SMsgHandler(); virtual ~SMsgHandler(); @@ -55,6 +54,13 @@ namespace rfb { virtual void enableContinuousUpdates(bool enable, int x, int y, int w, int h) = 0; + virtual void keyEvent(uint32_t keysym, uint32_t keycode, + bool down); + virtual void pointerEvent(const Point& pos, + uint8_t buttonMask); + + virtual void clientCutText(const char* str); + virtual void handleClipboardCaps(uint32_t flags, const uint32_t* lengths); virtual void handleClipboardRequest(uint32_t flags); @@ -64,9 +70,6 @@ namespace rfb { const size_t* lengths, const uint8_t* const* data); - // InputHandler interface - // The InputHandler methods will be called for the corresponding messages. - // supportsLocalCursor() is called whenever the status of // cp.supportsLocalCursor has changed. At the moment this happens on a // setEncodings message, but in the future this may be due to a message |