diff options
author | Alon Levy <alevy@redhat.com> | 2010-08-29 19:32:39 +0300 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2010-08-31 11:08:09 +0300 |
commit | 18466b8b55c59837cbfe83d6ceb5a0020fd9c2b2 (patch) | |
tree | f910e34611aa5f48c9707fdf5b75f7011013a159 /client/red_client.h | |
parent | 7166d957773c6b41fcb1a295221541cf3b9611ec (diff) | |
download | spice-18466b8b55c59837cbfe83d6ceb5a0020fd9c2b2.tar.gz spice-18466b8b55c59837cbfe83d6ceb5a0020fd9c2b2.tar.xz spice-18466b8b55c59837cbfe83d6ceb5a0020fd9c2b2.zip |
client: add announce_capabilities
Diffstat (limited to 'client/red_client.h')
-rw-r--r-- | client/red_client.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/client/red_client.h b/client/red_client.h index 6b4d4ab6..ba8b4ee9 100644 --- a/client/red_client.h +++ b/client/red_client.h @@ -210,6 +210,7 @@ protected: private: void on_channel_disconnected(RedChannel& channel); void migrate_channel(RedChannel& channel); + void send_agent_announce_capabilities(bool request); void send_agent_monitors_config(); void send_agent_display_config(); void calc_pixmap_cach_and_glz_window_size(uint32_t display_channels_hint, @@ -229,6 +230,8 @@ private: void handle_migrate_switch_host(RedPeer::InMessage* message); void on_agent_reply(VDAgentReply* reply); + void on_agent_announce_capabilities(VDAgentAnnounceCapabilities* caps, + uint32_t msg_size); void on_agent_clipboard(VDAgentClipboard* clipboard, uint32_t size); void send_agent_clipboard(); void do_send_agent_clipboard(); @@ -269,6 +272,8 @@ private: uint32_t _agent_out_msg_pos; uint32_t _agent_tokens; AutoRef<AgentTimer> _agent_timer; + uint32_t _agent_caps_size; + uint32_t *_agent_caps; PeerConnectionOptMap _con_opt_map; RedPeer::HostAuthOptions _host_auth_opt; |