VirtualBox

Changeset 78151 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Apr 17, 2019 12:03:42 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
130066
Message:

Shared Clipboard: Got rid of a lot of duplicated code between Windows hosts / guests, plus a lot of renaming / cleanup, some more documentation.

Location:
trunk/include/VBox
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/SharedClipboard.h

    r76585 r78151  
    3333#include <iprt/types.h>
    3434
     35/**
     36 * Supported data formats for Shared Clipboard. Bit mask.
     37 */
     38/** Shared Clipboard format is an Unicode text. */
     39#define VBOX_SHARED_CLIPBOARD_FMT_UNICODETEXT   UINT32_C(0x01)
     40/** Shared Clipboard format is bitmap (BMP / DIB). */
     41#define VBOX_SHARED_CLIPBOARD_FMT_BITMAP        UINT32_C(0x02)
     42/** Shared Clipboard format is HTML. */
     43#define VBOX_SHARED_CLIPBOARD_FMT_HTML          UINT32_C(0x04)
     44
     45/**
     46 * The host messages for the guest.
     47 */
     48#define VBOX_SHARED_CLIPBOARD_HOST_MSG_QUIT        1
     49#define VBOX_SHARED_CLIPBOARD_HOST_MSG_READ_DATA   2
     50#define VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS     3
     51
    3552enum
    3653{
     
    4663struct _VBOXCLIPBOARDCONTEXT;
    4764typedef struct _VBOXCLIPBOARDCONTEXT VBOXCLIPBOARDCONTEXT;
     65typedef struct _VBOXCLIPBOARDCONTEXT *PVBOXCLIPBOARDCONTEXT;
    4866
    4967/** Opaque data structure for the X11/VBox backend code. */
  • trunk/include/VBox/HostServices/VBoxClipboardSvc.h

    r76585 r78151  
    4343
    4444/*
    45  * Supported data formats. Bit mask.
    46  */
    47 #define VBOX_SHARED_CLIPBOARD_FMT_UNICODETEXT   UINT32_C(0x01)
    48 #define VBOX_SHARED_CLIPBOARD_FMT_BITMAP        UINT32_C(0x02)
    49 #define VBOX_SHARED_CLIPBOARD_FMT_HTML          UINT32_C(0x04)
    50 
    51 /*
    5245 * The service functions which are callable by host.
    5346 */
     
    6760/* Send data in requested format to host. */
    6861#define VBOX_SHARED_CLIPBOARD_FN_WRITE_DATA        4
    69 
    70 /*
    71  * The host messages for the guest.
    72  */
    73 #define VBOX_SHARED_CLIPBOARD_HOST_MSG_QUIT        1
    74 #define VBOX_SHARED_CLIPBOARD_HOST_MSG_READ_DATA   2
    75 #define VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS     3
    7662
    7763/*
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette