VirtualBox

Changeset 78619 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 21, 2019 8:42:35 AM (6 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Build fix.

Location:
trunk/src/VBox/HostServices/SharedClipboard
Files:
2 edited

Legend:

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

    r78618 r78619  
    551551    AssertRCReturn(rc, 1);
    552552    rc = VBoxClipboardSvcImplConnect(&client, false);
    553     CLIPBACKEND *pBackend = client.pCtx->pBackend;
     553    CLIPBACKEND *pBackend = client.State.pCtx->pBackend;
    554554    AssertRCReturn(rc, 1);
    555555    VBoxClipboardSvcImplFormatAnnounce(&client,
     
    561561    }
    562562    pBackend->readData.rc = VINF_SUCCESS;
    563     client.asyncRead.callHandle = (VBOXHGCMCALLHANDLE)pBackend;
    564     client.asyncRead.paParms = (VBOXHGCMSVCPARM *)&client;
     563    client.State.asyncRead.callHandle = (VBOXHGCMCALLHANDLE)pBackend;
     564    client.State.asyncRead.paParms = (VBOXHGCMSVCPARM *)&client;
    565565    uint32_t u32Dummy;
    566566    rc = VBoxClipboardSvcImplReadData(&client, VBOX_SHARED_CLIPBOARD_FMT_UNICODETEXT,
     
    586586        else
    587587        {
    588             ClipCompleteDataRequestFromX11(client.pCtx, VERR_NO_DATA,
     588            ClipCompleteDataRequestFromX11(client.State.pCtx, VERR_NO_DATA,
    589589                                           pBackend->readData.pReq, NULL, 43);
    590590            if (   pBackend->completeRead.rc != VERR_NO_DATA
     
    604604    pBackend->writeData.format = 1234;
    605605    pBackend->reportData.format = 4321;  /* XX this should be handled! */
    606     rc = ClipRequestDataForX11(client.pCtx, 23, &pv, &cb);
     606    rc = ClipRequestDataForX11(client.State.pCtx, 23, &pv, &cb);
    607607    if (   rc != VINF_SUCCESS
    608608        || strcmp((const char *)pv, "testing") != 0
     
    615615        RTMemFree(pv);
    616616    pBackend->writeData.timeout = true;
    617     rc = ClipRequestDataForX11(client.pCtx, 23, &pv, &cb);
     617    rc = ClipRequestDataForX11(client.State.pCtx, 23, &pv, &cb);
    618618    if (rc != VERR_TIMEOUT)
    619619    {
     
    624624    pBackend->writeData.cb = 0;
    625625    pBackend->writeData.timeout = false;
    626     rc = ClipRequestDataForX11(client.pCtx, 23, &pv, &cb);
     626    rc = ClipRequestDataForX11(client.State.pCtx, 23, &pv, &cb);
    627627    if (rc != VERR_NO_DATA)
    628628    {
  • trunk/src/VBox/HostServices/SharedClipboard/testcase/tstClipboardServiceHost.cpp

    r78618 r78619  
    1616 */
    1717
    18 #include "../VBoxClipboard.h"
     18#include "../VBoxSharedClipboardSvc-internal.h"
    1919
    2020#include <VBox/HostServices/VBoxClipboardSvc.h>
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