VirtualBox

Changeset 81286 in vbox for trunk/include/VBox/HostServices


Ignore:
Timestamp:
Oct 15, 2019 4:37:37 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133981
Message:

Shared Clipboard/Transfers: Added IMachine::clipboardFileTransfersEnabled attribute (getter/setter) for enabling/disabling the feature. Disabled by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/VBoxClipboardSvc.h

    r81025 r81286  
    8383
    8484/*
     85 * The Shared Clipboard file transfer mode (bit field).
     86 */
     87/** Shared Clipboard file transfers are disabled. */
     88#define VBOX_SHCL_TRANSFER_MODE_DISABLED     UINT32_C(0)
     89/** Shared Clipboard file transfers are enabled. */
     90#define VBOX_SHCL_TRANSFER_MODE_ENABLED      RT_BIT(0)
     91/** Shared Clipboard file transfer mode valid mask. */
     92#define VBOX_SHCL_TRANSFER_MODE_VALID_MASK   UINT32_C(0x1)
     93
     94/*
    8595 * The service functions which are callable by host.
    8696 */
    8797/** Sets the current Shared Clipboard operation mode. */
    8898#define VBOX_SHCL_HOST_FN_SET_MODE           1
     99/** Sets the current Shared Clipboard (file) transfers mode.
     100 *  Operates on the VBOX_SHCL_TRANSFERS_ defines. */
     101#define VBOX_SHCL_HOST_FN_SET_TRANSFER_MODE  2
    89102/** Run headless on the host, i.e. do not touch the host clipboard. */
    90 #define VBOX_SHCL_HOST_FN_SET_HEADLESS       2
     103#define VBOX_SHCL_HOST_FN_SET_HEADLESS       3
    91104/** Reports cancellation of the current operation to the guest. */
    92 #define VBOX_SHCL_HOST_FN_CANCEL             3
     105#define VBOX_SHCL_HOST_FN_CANCEL             4
    93106/** Reports an error to the guest. */
    94 #define VBOX_SHCL_HOST_FN_ERROR              4
     107#define VBOX_SHCL_HOST_FN_ERROR              5
    95108/** Reports that a new clipboard area has been registered. */
    96 #define VBOX_SHCL_HOST_FN_AREA_REGISTER      5
     109#define VBOX_SHCL_HOST_FN_AREA_REGISTER      6
    97110/** Reports that a clipboard area has been unregistered. */
    98 #define VBOX_SHCL_HOST_FN_AREA_UNREGISTER    6
     111#define VBOX_SHCL_HOST_FN_AREA_UNREGISTER    7
    99112/** Reports that a client (host / guest) has attached to a clipboard area. */
    100 #define VBOX_SHCL_HOST_FN_AREA_ATTACH        7
     113#define VBOX_SHCL_HOST_FN_AREA_ATTACH        8
    101114/** Reports that a client (host / guest) has detached from a clipboard area. */
    102 #define VBOX_SHCL_HOST_FN_AREA_DETACH        8
     115#define VBOX_SHCL_HOST_FN_AREA_DETACH        9
    103116
    104117/**
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