VirtualBox

Changeset 86911 in vbox for trunk/src/VBox/Additions/common


Ignore:
Timestamp:
Nov 19, 2020 7:52:04 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
141393
Message:

Shared Clipboard/Transfers: Added VBOX_SHCL_GF_0_TRANSFERS_FRONTEND to indicate whether a guest supports a guest OS-native frontend for showing and handling file transfers. bugref:9437

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR3LibClipboard.cpp

    r84997 r86911  
    100100    pCtx->idClient              = 0;
    101101    pCtx->fHostFeatures         = 0;
    102     pCtx->fGuestFeatures        = 0;
     102    pCtx->fGuestFeatures        = VBOX_SHCL_GF_NONE;
    103103    pCtx->fUseLegacyProtocol    = true;
    104104    pCtx->cParmsRecived         = 0;
     
    106106
    107107#ifdef VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS
     108    /* Indicate that this guest supports Shared Clipboard file transfers. */
    108109    pCtx->fGuestFeatures       |= VBOX_SHCL_GF_0_TRANSFERS;
     110# ifdef RT_OS_WINDOWS
     111    /* Indicate that on Windows guest OSes we have our own IDataObject implementation which
     112     * integrates nicely into the guest's Windows Explorer showing / handling the Shared Clipboard file transfers. */
     113    pCtx->fGuestFeatures       |= VBOX_SHCL_GF_0_TRANSFERS_FRONTEND;
     114# endif
    109115    pCtx->cbChunkSize           = VBOX_SHCL_DEFAULT_CHUNK_SIZE; /** @todo Make this configurable. */
    110116    pCtx->cbMaxChunkSize        = VBOX_SHCL_MAX_CHUNK_SIZE;     /** @todo Ditto. */
    111 #endif
     117#endif /* VBOX_WITH_SHARED_CLIPBOARD_TRANSFERS */
    112118
    113119    /*
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