VirtualBox

Changeset 100205 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jun 19, 2023 10:25:09 AM (19 months ago)
Author:
vboxsync
Message:

Shared Clipboard: Unified root list entry code to also use the generic list entry code, a lot of updates for the cross OS transfer handling code, more updates for HTTP server transfer handling. This also changed the handling of how that transfers are being initiated, as we needed to have this for X11: Before, transfers were initiated as soon as on side announced the URI list format -- now we postpone initiating the transfer until the receiving side requests the data as URI list [build fix]. ​bugref:9437

Location:
trunk/src/VBox/Additions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxClipboard.cpp

    r100204 r100205  
    218218
    219219/**
    220  * @copydoc SHCLTRANSFERCALLBACKTABLE::pfnOnStart
     220 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnStart
    221221 *
    222222 * Called from VbglR3 (main thread) to notify the IDataObject.
     
    268268}
    269269
    270 /** @copydoc SHCLTRANSFERCALLBACKTABLE::pfnOnCompleted */
     270/** @copydoc SHCLTRANSFERCALLBACKS::pfnOnCompleted */
    271271static DECLCALLBACK(void) vbtrShClTransferCompletedCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx, int rcCompletion)
    272272{
     
    280280}
    281281
    282 /** @copydoc SHCLTRANSFERCALLBACKTABLE::pfnOnError */
     282/** @copydoc SHCLTRANSFERCALLBACKS::pfnOnError */
    283283static DECLCALLBACK(void) vbtrShClTransferErrorCallback(PSHCLTRANSFERCALLBACKCTX pCbCtx, int rcError)
    284284{
     
    647647                    rc = SharedClipboardWinTransferCreateAndSetDataObject(pWinCtx, pCtx, &Callbacks);
    648648                }
     649#else
     650                RT_NOREF(rc);
    649651#endif
    650652            }
  • trunk/src/VBox/Additions/x11/VBoxClient/clipboard-x11.cpp

    r100204 r100205  
    105105
    106106/**
    107  * @copydoc SHCLTRANSFERCALLBACKTABLE::pfnOnRegistered
     107 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnRegistered
    108108 *
    109109 * This starts the HTTP server if not done yet and registers the transfer with it.
     
    166166
    167167/**
    168  * @copydoc SHCLTRANSFERCALLBACKTABLE::pfnOnUnregistered
     168 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnUnregistered
    169169 *
    170170 * Unregisters a (now) unregistered transfer from the HTTP server.
     
    179179
    180180/**
    181  * @copydoc SHCLTRANSFERCALLBACKTABLE::pfnOnCompleted
     181 * @copydoc SHCLTRANSFERCALLBACKS::pfnOnCompleted
    182182 *
    183183 * Unregisters a complete transfer from the HTTP server.
     
    191191}
    192192
    193 /** @copydoc SHCLTRANSFERCALLBACKTABLE::pfnOnError
     193/** @copydoc SHCLTRANSFERCALLBACKS::pfnOnError
    194194 *
    195195 * Unregisters a failed transfer from the HTTP server.
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