From 8a7831faf62daf131ca72ac8f6aea1528b077684 Mon Sep 17 00:00:00 2001 From: Fritz Elfert Date: Tue, 22 May 2001 21:19:20 +0000 Subject: More work on remote clipboard. --- lib/rclip.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'lib/rclip.h') diff --git a/lib/rclip.h b/lib/rclip.h index 617f31b..9d3f54b 100644 --- a/lib/rclip.h +++ b/lib/rclip.h @@ -65,23 +65,24 @@ public: */ Enum getStatus(); - /** - * Get Remote ClipBoard Data - */ - Enum getData(bufferStore &buf); + Enum initClipbd(); - /** - * Put Data to Remote ClipBoard - */ - Enum putData(bufferStore &buf); + Enum sendListen(); + + Enum checkNotify(); + + Enum waitNotify(); + + Enum notify(); protected: /** * The possible commands. */ enum commands { - RCLIP_INIT = 0x0100, - RCLIP_GET = 0xf0f0, + RCLIP_INIT = 0x00, + RCLIP_NOTIFY = 0x08, + RCLIP_LISTEN = 0x04, }; /** @@ -109,7 +110,7 @@ protected: * * @returns true on success, false on failure. */ - bool sendCommand(enum commands cc, bufferStore &data); + bool sendCommand(enum commands cc); Enum getResponse(bufferStore &data); const char *getConnectName(); -- cgit v1.2.3