VirtualBox

Ignore:
Timestamp:
Jan 31, 2022 1:29:28 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
149620
Message:

Shared Clipboard: Implemented backend callbacks and a dedicated backend context, together with a new testcase which mocks HGCM to also test the guest-side clipboard code (disabled by default for now). Work in progress, only tested on Linux so far [build fix].

File:
1 edited

Legend:

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

    r93496 r93497  
    322322}
    323323
    324 /** @copydoc SHCLBACKENDCALLBACKS::pfnReportFormats */
     324/** @copydoc SHCLCALLBACKS::pfnReportFormats */
    325325static DECLCALLBACK(int) shClReportFormatsCallback(PSHCLCONTEXT pCtx, uint32_t fFormats, void *pvUser)
    326326{
     
    352352}
    353353
    354 /** @copydoc SHCLBACKENDCALLBACKS::pfnOnSendDataToDest */
     354/** @copydoc SHCLCALLBACKS::pfnOnSendDataToDest */
    355355static DECLCALLBACK(int) shClSendDataToDestCallback(PSHCLCONTEXT pCtx, void *pv, uint32_t cb, void *pvUser)
    356356{
     
    402402}
    403403
    404 /** @copydoc SHCLBACKENDCALLBACKS::pfnOnRequestDataFromSource */
     404/** @copydoc SHCLCALLBACKS::pfnOnRequestDataFromSource */
    405405static DECLCALLBACK(int) shClRequestDataFromSourceCallback(PSHCLCONTEXT pCtx, SHCLFORMAT uFmt, void **ppv, uint32_t *pcb, void *pvUser)
    406406{
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