summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnon Gilboa <agilboa@redhat.com>2010-10-04 16:46:10 +0200
committerHans de Goede <hdegoede@redhat.com>2010-10-04 16:48:27 +0200
commit016cdb0b1dea0e76790a3b95b4bdb6ed3324f316 (patch)
tree9a68e3929194716af3bdc8a891b5c4643538f8ec
parent5fdd0ba6650919dcfd7740c041ad7d2b9c4560ab (diff)
downloadspice-protocol-016cdb0b1dea0e76790a3b95b4bdb6ed3324f316.tar.gz
spice-protocol-016cdb0b1dea0e76790a3b95b4bdb6ed3324f316.tar.xz
spice-protocol-016cdb0b1dea0e76790a3b95b4bdb6ed3324f316.zip
vd_agent: add VD_AGENT_CAP_CLIPBOARD_BY_DEMAND capability enum
VD_AGENT_CLIPBOARD_NONE for unsupported clipboard types
-rw-r--r--spice/vd_agent.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 0da23aa..4724b9a 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -130,7 +130,8 @@ typedef struct SPICE_ATTR_PACKED VDAgentClipboard {
} VDAgentClipboard;
enum {
- VD_AGENT_CLIPBOARD_UTF8_TEXT = 1,
+ VD_AGENT_CLIPBOARD_NONE = 0,
+ VD_AGENT_CLIPBOARD_UTF8_TEXT,
VD_AGENT_CLIPBOARD_BITMAP,
};
@@ -148,6 +149,7 @@ enum {
VD_AGENT_CAP_REPLY,
VD_AGENT_CAP_CLIPBOARD,
VD_AGENT_CAP_DISPLAY_CONFIG,
+ VD_AGENT_CAP_CLIPBOARD_BY_DEMAND,
VD_AGENT_END_CAP,
};