summaryrefslogtreecommitdiffstats
path: root/client/red_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/red_client.h')
-rw-r--r--client/red_client.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/client/red_client.h b/client/red_client.h
index fd1a9b4f..6b4d4ab6 100644
--- a/client/red_client.h
+++ b/client/red_client.h
@@ -144,10 +144,16 @@ public:
uint32_t _color_depth;
};
+class ClipboardEvent : public Event {
+public:
+ virtual void response(AbstractProcessLoop& events_loop);
+};
+
class RedClient: public RedChannel {
public:
friend class RedChannel;
friend class Migrate;
+ friend class ClipboardEvent;
RedClient(Application& application);
~RedClient();
@@ -224,7 +230,8 @@ private:
void on_agent_reply(VDAgentReply* reply);
void on_agent_clipboard(VDAgentClipboard* clipboard, uint32_t size);
- void post_agent_clipboard();
+ void send_agent_clipboard();
+ void do_send_agent_clipboard();
ChannelFactory* find_factory(uint32_t type);
void create_channel(uint32_t type, uint32_t id);