VirtualBox

Changeset 79108 in vbox


Ignore:
Timestamp:
Jun 12, 2019 2:01:24 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
131270
Message:

Shared Clipboard/URI: Build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp

    r79107 r79108  
    430430
    431431    vboxSvcClipboardClientStateReset(&pClientData->State);
     432    vboxSvcClipboardClientStateDestroy(&pClientData->State);
    432433
    433434    g_pClientData = NULL;
     
    464465
    465466    int rc = VBoxClipboardSvcImplConnect(pClientData, VBoxSvcClipboardGetHeadless());
    466 #if 1
     467#ifdef VBOX_WITH_SHARED_CLIPBOARD_URI_LIST
    467468    if (RT_SUCCESS(rc))
    468469        rc = SharedClipboardURICtxInit(&pClientData->URI);
    469 #else
    470     if (RT_SUCCESS(rc))
    471     {
    472         SHAREDCLIPBOARDPROVIDERCREATIONCTX creationCtx;
    473         RT_ZERO(creationCtx);
    474         creationCtx.enmSource = SHAREDCLIPBOARDPROVIDERSOURCE_HOSTSERVICE;
    475 
    476         PSHAREDCLIPBOARDURITRANSFER pTransfer;
    477         rc = SharedClipboardURITransferCreate(SHAREDCLIPBOARDURITRANSFERDIR_WRITE, &creationCtx, &pTransfer);
    478 
    479 
    480         rc = SharedClipboardURITransferCreate(&pClientData->Transfer, &pClientData->State);
    481         if (RT_SUCCESS(rc))
    482         SharedClipboardURICtxTransferAdd
    483 
    484         if (RT_SUCCESS(rc))
    485         {
    486             pClientData->cTransfers    = 0;
    487             pClientData->cMaxTransfers = 1; /* At the moment we only support one transfer per client at a time. */
    488         }
    489     }
    490470#endif
    491471
Note: See TracChangeset for help on using the changeset viewer.

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