VirtualBox

Ignore:
Timestamp:
Apr 26, 2019 9:44:48 AM (6 years ago)
Author:
vboxsync
Message:

Shared Clipboard/URI: Renaming (VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS -> VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS).

Location:
trunk/src/VBox/HostServices/SharedClipboard
Files:
3 edited

Legend:

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

    r78307 r78317  
    591591    int rc = VBoxClipboardWinGetFormats(&pCtx->Win, &uFormats);
    592592    if (RT_SUCCESS(rc))
    593         vboxSvcClipboardReportMsg(pCtx->pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS, uFormats);
     593        vboxSvcClipboardReportMsg(pCtx->pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS, uFormats);
    594594
    595595    return rc;
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-x11.cpp

    r78179 r78317  
    7777    LogRelFlowFunc(("called.  pCtx=%p, u32Formats=%02X\n", pCtx, u32Formats));
    7878    vboxSvcClipboardReportMsg(pCtx->pClient,
    79                               VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS,
     79                              VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS,
    8080                              u32Formats);
    8181}
     
    149149     * there is data in the host clipboard it will automatically be sent to
    150150     * the guest when the clipboard starts up. */
    151     vboxSvcClipboardReportMsg(pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS, 0);
     151    vboxSvcClipboardReportMsg(pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS, 0);
    152152    /** @todo r=andy Check rc code. */
    153153    return VINF_SUCCESS;
  • trunk/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc.cpp

    r78316 r78317  
    229229    {
    230230        LogRelFlow(("vboxSvcClipboardReturnMsg: Formats %02X\n", pClient->u32AvailableFormats));
    231         VBoxHGCMParmUInt32Set(&paParms[0], VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS);
     231        VBoxHGCMParmUInt32Set(&paParms[0], VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS);
    232232        VBoxHGCMParmUInt32Set(&paParms[1], pClient->u32AvailableFormats);
    233233        pClient->fMsgFormats = false;
     
    270270                pClient->fMsgReadData = true;
    271271            } break;
    272             case VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS:
     272            case VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS:
    273273            {
    274274                if (   vboxSvcClipboardMode () != VBOX_SHARED_CLIPBOARD_MODE_HOST_TO_GUEST
     
    581581                            if (g_fDelayedAnnouncement)
    582582                            {
    583                                 vboxSvcClipboardReportMsg (g_pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS, g_u32DelayedFormats);
     583                                vboxSvcClipboardReportMsg (g_pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS, g_u32DelayedFormats);
    584584                                g_fDelayedAnnouncement = false;
    585585                                g_u32DelayedFormats = 0;
     
    959959                else
    960960                {
    961                     vboxSvcClipboardReportMsg (g_pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_FORMATS, u32Format);
     961                    vboxSvcClipboardReportMsg (g_pClient, VBOX_SHARED_CLIPBOARD_HOST_MSG_REPORT_FORMATS, u32Format);
    962962                }
    963963            } 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