VirtualBox

Changeset 78158 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 17, 2019 1:28:04 PM (6 years ago)
Author:
vboxsync
Message:

Shared Clipboard: Darwin build fix.

File:
1 edited

Legend:

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

    r76553 r78158  
    101101        /* call this behind the lock because we don't know if the api is
    102102           thread safe and in any case we're calling several methods. */
    103         vboxSvcClipboardLock();
     103        VBoxSvcClipboardLock();
    104104        vboxClipboardChanged (pCtx);
    105         vboxSvcClipboardUnlock();
     105        VBoxSvcClipboardUnlock();
    106106
    107107        /* Sleep for 200 msecs before next poll */
     
    176176    }
    177177
    178     vboxSvcClipboardLock();
     178    VBoxSvcClipboardLock();
    179179
    180180    pClient->pCtx = &g_ctx;
     
    184184    int rc = vboxClipboardSync (pClient);
    185185
    186     vboxSvcClipboardUnlock();
     186    VBoxSvcClipboardUnlock();
    187187    return rc;
    188188}
     
    195195{
    196196    /* Sync the host clipboard content with the client. */
    197     vboxSvcClipboardLock();
     197    VBoxSvcClipboardLock();
    198198    int rc = vboxClipboardChanged (pClient->pCtx);
    199     vboxSvcClipboardUnlock();
     199    VBoxSvcClipboardUnlock();
    200200
    201201    return rc;
     
    209209    Log (("vboxClipboardDisconnect\n"));
    210210
    211     vboxSvcClipboardLock();
     211    VBoxSvcClipboardLock();
    212212    pClient->pCtx->pClient = NULL;
    213     vboxSvcClipboardUnlock();
     213    VBoxSvcClipboardUnlock();
    214214}
    215215
     
    246246                           void *pv, uint32_t cb, uint32_t * pcbActual)
    247247{
    248     vboxSvcClipboardLock();
     248    VBoxSvcClipboardLock();
    249249
    250250    /* Default to no data available. */
     
    252252    int rc = readFromPasteboard (pClient->pCtx->pasteboard, u32Format, pv, cb, pcbActual);
    253253
    254     vboxSvcClipboardUnlock();
     254    VBoxSvcClipboardUnlock();
    255255    return rc;
    256256}
     
    267267                             uint32_t cb, uint32_t u32Format)
    268268{
    269     vboxSvcClipboardLock();
     269    VBoxSvcClipboardLock();
    270270
    271271    writeToPasteboard (pClient->pCtx->pasteboard, pv, cb, u32Format);
    272272
    273     vboxSvcClipboardUnlock();
    274 }
     273    VBoxSvcClipboardUnlock();
     274}
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