summaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/Clipboard.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/Clipboard.h')
-rw-r--r--win/rfb_win32/Clipboard.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/win/rfb_win32/Clipboard.h b/win/rfb_win32/Clipboard.h
index c69e981f..1dead82e 100644
--- a/win/rfb_win32/Clipboard.h
+++ b/win/rfb_win32/Clipboard.h
@@ -39,7 +39,7 @@ namespace rfb {
// -=- Abstract base class for callback recipients
class Notifier {
public:
- virtual void notifyClipboardChanged(const char* text) = 0;
+ virtual void notifyClipboardChanged(bool available) = 0;
virtual ~Notifier() {};
};
@@ -49,6 +49,9 @@ namespace rfb {
// - Set the notifier to use
void setNotifier(Notifier* cbn) {notifier = cbn;}
+ // - Get the clipboard contents
+ char* getClipText();
+
// - Set the clipboard contents
void setClipText(const char* text);