summaryrefslogtreecommitdiffstats
path: root/client/platform.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2010-10-02 13:03:50 +0200
committerHans de Goede <hdegoede@redhat.com>2010-10-02 15:32:48 +0200
commitdeb849dfd54deafa894692f4e44208c2de9f33aa (patch)
treecb930f051c41004674bb6592dcd2c8cb4e7cab87 /client/platform.h
parent5781c97a1751e8e889b30dcce4641fb30508e072 (diff)
downloadspice-deb849dfd54deafa894692f4e44208c2de9f33aa.tar.gz
spice-deb849dfd54deafa894692f4e44208c2de9f33aa.tar.xz
spice-deb849dfd54deafa894692f4e44208c2de9f33aa.zip
Rename platform clipboard handling functions
Rename the 4 platform clipboard functions which get called upon receival of an agent clipboard message to on_clipboard_* The old set_clipboard_* names were confusing as they suggest being a class property setter (like set_event_listener) rather then event handler, and set_clipboard_owner was causing a name conflict with the next patch in this series.
Diffstat (limited to 'client/platform.h')
-rw-r--r--client/platform.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/platform.h b/client/platform.h
index 48476cf2..ff6f38d2 100644
--- a/client/platform.h
+++ b/client/platform.h
@@ -121,10 +121,10 @@ public:
class ClipboardListener;
static void set_clipboard_listener(ClipboardListener* listener);
- static bool set_clipboard_owner(uint32_t *types, uint32_t type_count);
- static bool set_clipboard_data(uint32_t type, const uint8_t* data, int32_t size);
- static bool request_clipboard_notification(uint32_t type);
- static void release_clipboard();
+ static bool on_clipboard_grab(uint32_t *types, uint32_t type_count);
+ static bool on_clipboard_notify(uint32_t type, const uint8_t* data, int32_t size);
+ static bool on_clipboard_request(uint32_t type);
+ static void on_clipboard_release();
};
class Platform::EventListener {