VirtualBox

Changeset 93321 in vbox for trunk/src/VBox/Additions/x11


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/Additions/x11/VBoxClient/clipboard.cpp

    r93115 r93321  
    5858
    5959
    60 DECLCALLBACK(int) ShClX11RequestDataForX11Callback(PSHCLCONTEXT pCtx, SHCLFORMAT uFmt, void **ppv, uint32_t *pcb)
     60/** @copydoc ShClX11RequestDataCallback */
     61DECLCALLBACK(int) ShClX11RequestDataCallback(PSHCLCONTEXT pCtx, SHCLFORMAT uFmt, void **ppv, uint32_t *pcb)
    6162{
    6263    LogFlowFunc(("pCtx=%p, uFmt=%#x\n", pCtx, uFmt));
     
    143144};
    144145
     146/** @copydoc ShClX11ReportFormatsCallback */
    145147DECLCALLBACK(void) ShClX11ReportFormatsCallback(PSHCLCONTEXT pCtx, SHCLFORMATS fFormats)
    146148{
     
    154156}
    155157
    156 DECLCALLBACK(void) ShClX11RequestFromX11CompleteCallback(PSHCLCONTEXT pCtx, int rcCompletion,
    157                                                          CLIPREADCBREQ *pReq, void *pv, uint32_t cb)
     158/** @copydoc ShClX11ReportDataCallback */
     159DECLCALLBACK(void) ShClX11ReportDataCallback(PSHCLCONTEXT pCtx, int rcCompletion,
     160                                             CLIPREADCBREQ *pReq, void *pv, uint32_t cb)
    158161{
    159162    LogFlowFunc(("rcCompletion=%Rrc, Format=0x%x, pv=%p, cb=%RU32\n", rcCompletion, pReq->Format, pv, cb));
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