VirtualBox

Ignore:
Timestamp:
Jun 24, 2019 10:18:19 AM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Update.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/SharedClipboard/ClipboardProvider.cpp

    r79267 r79299  
    148148SharedClipboardProvider::SharedClipboardProvider(void)
    149149    : m_cRefs(0)
     150    , m_enmDir(SHAREDCLIPBOARDURITRANSFERDIR_UNKNOWN)
    150151    , m_uTimeoutMs(30 * 1000 /* 30s timeout by default */)
    151152{
     
    178179    {
    179180#ifdef VBOX_WITH_SHARED_CLIPBOARD_GUEST
    180         case SHAREDCLIPBOARDPROVIDERSOURCE_VBGLR3:
     181        case SHAREDCLIPBOARDURIPROVIDERSOURCE_VBGLR3:
    181182            pProvider = new SharedClipboardProviderVbglR3(pCtx->u.VbglR3.uClientID);
    182183            break;
     
    184185
    185186#ifdef VBOX_WITH_SHARED_CLIPBOARD_HOST
    186         case SHAREDCLIPBOARDPROVIDERSOURCE_HOSTSERVICE:
     187        case SHAREDCLIPBOARDURIPROVIDERSOURCE_HOSTSERVICE:
    187188            pProvider = new SharedClipboardProviderHostService(pCtx->u.HostService.pArea);
    188189            break;
     
    245246 * Stubs.
    246247 */
     248
     249int SharedClipboardProvider::Prepare(void)
     250{
     251    return VINF_SUCCESS;
     252}
    247253
    248254int SharedClipboardProvider::ReadDataHdr(PVBOXCLIPBOARDDATAHDR *ppDataHdr)
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