aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/SDisplay.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-05-03 10:53:06 +0200
committerPierre Ossman <ossman@cendio.se>2019-07-01 11:18:27 +0200
commit615d16bd5ba11e89262cc5cfe94a35b6d6e7a628 (patch)
treec520bd561b0e44f005cc2fbc118b8e36f439bfcb /win/rfb_win32/SDisplay.h
parent56fa7821560a60db39195e8c81d16b46e8f972c2 (diff)
downloadtigervnc-615d16bd5ba11e89262cc5cfe94a35b6d6e7a628.tar.gz
tigervnc-615d16bd5ba11e89262cc5cfe94a35b6d6e7a628.zip
Improved clipboard API
Change the internal clipboard API to use a request based model in order to be prepared for more advanced clipboard transfers.
Diffstat (limited to 'win/rfb_win32/SDisplay.h')
-rw-r--r--win/rfb_win32/SDisplay.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/win/rfb_win32/SDisplay.h b/win/rfb_win32/SDisplay.h
index 1773b785..8e38edb3 100644
--- a/win/rfb_win32/SDisplay.h
+++ b/win/rfb_win32/SDisplay.h
@@ -76,13 +76,15 @@ namespace rfb {
virtual void terminate();
virtual void queryConnection(network::Socket* sock,
const char* userName);
+ virtual void handleClipboardRequest();
+ virtual void handleClipboardAnnounce(bool available);
+ virtual void handleClipboardData(const char* data);
virtual void pointerEvent(const Point& pos, int buttonmask);
virtual void keyEvent(rdr::U32 keysym, rdr::U32 keycode, bool down);
- virtual void clientCutText(const char* str);
- // -=- Clipboard
+ // -=- Clipboard events
- virtual void notifyClipboardChanged(const char* text);
+ virtual void notifyClipboardChanged(bool available);
// -=- Display events