VirtualBox

Changeset 81044 in vbox for trunk/include/VBox/GuestHost


Ignore:
Timestamp:
Sep 27, 2019 10:49:07 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133647
Message:

Shared Clipboard/X11: Emphasize which X11 backend APIs are callbacks and which aren't.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/GuestHost/SharedClipboard.h

    r80858 r81044  
    225225typedef struct _CLIPREADCBREQ CLIPREADCBREQ;
    226226
    227 /* APIs exported by the X11 backend */
     227/* APIs exported by the X11 backend. */
    228228extern CLIPBACKEND *ClipConstructX11(SHCLCONTEXT *pFrontend, bool fHeadless);
    229229extern void ClipDestructX11(CLIPBACKEND *pBackend);
     
    233233extern int ClipRequestDataFromX11(CLIPBACKEND *pBackend, SHCLFORMATS vboxFormat, CLIPREADCBREQ *pReq);
    234234
    235 /* APIs exported by the X11/VBox frontend */
    236 extern int ClipRequestDataForX11(SHCLCONTEXT *pCtx, uint32_t u32Format, void **ppv, uint32_t *pcb);
    237 extern void ClipReportX11Formats(SHCLCONTEXT *pCtx, uint32_t u32Formats);
    238 extern void ClipRequestFromX11CompleteCallback(SHCLCONTEXT *pCtx, int rc, CLIPREADCBREQ *pReq, void *pv, uint32_t cb);
     235/* APIs (as callbacks) exported by the X11/VBox frontend. */
     236extern DECLCALLBACK(int)  ClipRequestDataForX11Callback(SHCLCONTEXT *pCtx, uint32_t u32Format, void **ppv, uint32_t *pcb);
     237extern DECLCALLBACK(void) ClipReportX11FormatsCallback(SHCLCONTEXT *pCtx, uint32_t u32Formats);
     238extern DECLCALLBACK(void) ClipRequestFromX11CompleteCallback(SHCLCONTEXT *pCtx, int rc, CLIPREADCBREQ *pReq, void *pv, uint32_t cb);
    239239#endif /* !VBOX_INCLUDED_GuestHost_SharedClipboard_h */
    240240
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