From 97ae0b1bb4d5302e6c95d4233be5b8eb8efc1381 Mon Sep 17 00:00:00 2001 From: Frediano Ziglio Date: Wed, 9 Nov 2016 16:02:51 +0000 Subject: [PATCH] vd_agent: Add some comments to clipboard messages Document what the messages are meant to do. Signed-off-by: Frediano Ziglio Acked-by: Jonathon Jongsma --- spice/vd_agent.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/spice/vd_agent.h b/spice/vd_agent.h index c49f596..061ca30 100644 --- a/spice/vd_agent.h +++ b/spice/vd_agent.h @@ -66,10 +66,23 @@ enum { VD_AGENT_MOUSE_STATE = 1, VD_AGENT_MONITORS_CONFIG, VD_AGENT_REPLY, + /* Set clipboard data (both directions). + * Message comes with type and data. + * See VDAgentClipboard structure. + */ VD_AGENT_CLIPBOARD, VD_AGENT_DISPLAY_CONFIG, VD_AGENT_ANNOUNCE_CAPABILITIES, + /* Asks to listen for clipboard changes (both directions). + * Remote should empty clipboard and wait for one + * of the types passed. + * See VDAgentClipboardGrab structure. + */ VD_AGENT_CLIPBOARD_GRAB, + /* Asks for clipboard data (both directions). + * Request comes with a specific type. + * See VDAgentClipboardRequest structure. + */ VD_AGENT_CLIPBOARD_REQUEST, VD_AGENT_CLIPBOARD_RELEASE, VD_AGENT_FILE_XFER_START,