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

Arnon Gilboa agilboa at redhat.com
Tue Oct 12 06:01:03 PDT 2010


Ack. will wait few more days for windows support ;)

Hans de Goede wrote:
> ---
>  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 {
>   



More information about the Spice-devel mailing list