VirtualBox

Ignore:
Timestamp:
Jan 18, 2022 3:20:39 PM (3 years ago)
Author:
vboxsync
Message:

Shared Clipboard/X11: Renamed mandatory (own) X11 callbacks to better point out the data flow, added some docs.

File:
1 edited

Legend:

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

    r93115 r93321  
    307307}
    308308
    309 DECLCALLBACK(void) ShClX11RequestFromX11CompleteCallback(PSHCLCONTEXT pCtx, int rcCompletion,
    310                                                          CLIPREADCBREQ *pReq, void *pv, uint32_t cb)
     309/** @copydoc ShClX11ReportDataCallback */
     310DECLCALLBACK(void) ShClX11ReportDataCallback(PSHCLCONTEXT pCtx, int rcCompletion,
     311                                             CLIPREADCBREQ *pReq, void *pv, uint32_t cb)
    311312{
    312313    AssertPtrReturnVoid(pCtx);
     
    348349        RTMemFree(pReq);
    349350
    350     LogRel2(("Shared Clipboard: Request for clipboard data from X11 host completed with %Rrc\n", rcCompletion));
    351 }
    352 
    353 DECLCALLBACK(int) ShClX11RequestDataForX11Callback(PSHCLCONTEXT pCtx, SHCLFORMAT uFmt, void **ppv, uint32_t *pcb)
     351    LogRel2(("Shared Clipboard: Reading X11 clipboard data from host completed with %Rrc\n", rcCompletion));
     352}
     353
     354/** @copydoc ShClX11RequestDataCallback */
     355DECLCALLBACK(int) ShClX11RequestDataCallback(PSHCLCONTEXT pCtx, SHCLFORMAT uFmt, void **ppv, uint32_t *pcb)
    354356{
    355357    LogFlowFunc(("pCtx=%p, uFmt=0x%x\n", pCtx, uFmt));
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