VirtualBox

Ignore:
Timestamp:
Aug 27, 2019 5:47:44 PM (5 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Added protocol versioning support plus enhanced versions of existing commands (to also provide context IDs, among other stuff). So far only the host service(s) and the Windows guest is using the new(er) protocol.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/VBoxClient/Makefile.kmk

    r80378 r80444  
    9999  VBoxClient_DEFS    += VBOX_WITH_SHARED_CLIPBOARD_GUEST
    100100  VBoxClient_SOURCES += \
    101         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardURIList.cpp \
    102         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardURIObject.cpp \
    103         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp \
    104         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardProvider.cpp \
    105         $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardProvider-VbglR3.cpp
     101        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/clipboard-uri.cpp \
     102        $(PATH_ROOT)/src/VBox/GuestHost/SharedClipboard/ClipboardPath.cpp
    106103  ifdef VBOX_WITH_LIBFUSE_DISABLED
    107104   VBoxClient_SOURCES += \
  • trunk/src/VBox/Additions/x11/VBoxClient/clipboard.cpp

    r79497 r80444  
    145145 * Tell the host that new clipboard formats are available.
    146146 *
    147  * @param  pCtx      Our context information
    148  * @param u32Formats The formats to advertise
     147 * @param pCtx                  Our context information.
     148 * @param u32Formats            The formats to report.
    149149 */
    150150void ClipReportX11Formats(VBOXCLIPBOARDCONTEXT *pCtx, uint32_t u32Formats)
     
    229229            switch (Msg)
    230230            {
    231                 case VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS:
     231                case VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS_WRITE:
    232232                {
    233233                    /* The host has announced available clipboard formats.
     
    235235                     * future requests from guest applications.
    236236                     */
    237                     LogRelFlowFunc(("VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS fFormats=%x\n", fFormats));
     237                    LogRelFlowFunc(("VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS_WRITE fFormats=%x\n", fFormats));
    238238                    ClipAnnounceFormatToX11(g_ctx.pBackend, fFormats);
    239239                    break;
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