[Spice-devel] [PATCH spice-protocol] Add clipboard data types for images

Hans de Goede hdegoede at redhat.com
Tue Oct 12 04:52:47 PDT 2010


---
 spice/vd_agent.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/spice/vd_agent.h b/spice/vd_agent.h
index 8c09701..43d0e7c 100644
--- a/spice/vd_agent.h
+++ b/spice/vd_agent.h
@@ -132,6 +132,10 @@ typedef struct SPICE_ATTR_PACKED VDAgentClipboard {
 enum {
     VD_AGENT_CLIPBOARD_NONE = 0,
     VD_AGENT_CLIPBOARD_UTF8_TEXT,
+    VD_AGENT_CLIPBOARD_IMAGE_PNG,  /* All clients with image support should support this one */
+    VD_AGENT_CLIPBOARD_IMAGE_BMP,  /* optional */
+    VD_AGENT_CLIPBOARD_IMAGE_TIFF, /* optional */
+    VD_AGENT_CLIPBOARD_IMAGE_JPG,  /* optional */
 };
 
 typedef struct SPICE_ATTR_PACKED VDAgentClipboardGrab {
-- 
1.7.3.1



More information about the Spice-devel mailing list