aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rclip.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2001-05-22 21:19:20 +0000
committerFritz Elfert <felfert@to.com>2001-05-22 21:19:20 +0000
commit8a7831faf62daf131ca72ac8f6aea1528b077684 (patch)
tree885cdd30625f55d45bcfa9c73776a9828199b7eb /lib/rclip.h
parent337514d73fc9315e18f90d6eaff367dfe5dc9909 (diff)
downloadplptools-8a7831faf62daf131ca72ac8f6aea1528b077684.tar.gz
plptools-8a7831faf62daf131ca72ac8f6aea1528b077684.tar.bz2
plptools-8a7831faf62daf131ca72ac8f6aea1528b077684.zip
More work on remote clipboard.
Diffstat (limited to 'lib/rclip.h')
-rw-r--r--lib/rclip.h23
1 files changed, 12 insertions, 11 deletions
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<rfsv::errs> getStatus();
- /**
- * Get Remote ClipBoard Data
- */
- Enum<rfsv::errs> getData(bufferStore &buf);
+ Enum<rfsv::errs> initClipbd();
- /**
- * Put Data to Remote ClipBoard
- */
- Enum<rfsv::errs> putData(bufferStore &buf);
+ Enum<rfsv::errs> sendListen();
+
+ Enum<rfsv::errs> checkNotify();
+
+ Enum<rfsv::errs> waitNotify();
+
+ Enum<rfsv::errs> 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<rfsv::errs> getResponse(bufferStore &data);
const char *getConnectName();