VirtualBox

Changeset 80847 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Sep 17, 2019 9:38:16 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133417
Message:

Shared Clipboard/URI: More renaming to make code base more uniform.

Location:
trunk/src/VBox/Main/src-client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl.cpp

    r80737 r80847  
    92579257        case ClipboardMode_Disabled:
    92589258            LogRel(("Shared Clipboard: Mode: Off\n"));
    9259             parm.u.uint32 = VBOX_SHARED_CLIPBOARD_MODE_OFF;
     9259            parm.u.uint32 = VBOX_SHCL_MODE_OFF;
    92609260            break;
    92619261        case ClipboardMode_GuestToHost:
    92629262            LogRel(("Shared Clipboard: Mode: Guest to Host\n"));
    9263             parm.u.uint32 = VBOX_SHARED_CLIPBOARD_MODE_GUEST_TO_HOST;
     9263            parm.u.uint32 = VBOX_SHCL_MODE_GUEST_TO_HOST;
    92649264            break;
    92659265        case ClipboardMode_HostToGuest:
    92669266            LogRel(("Shared Clipboard: Mode: Host to Guest\n"));
    9267             parm.u.uint32 = VBOX_SHARED_CLIPBOARD_MODE_HOST_TO_GUEST;
     9267            parm.u.uint32 = VBOX_SHCL_MODE_HOST_TO_GUEST;
    92689268            break;
    92699269        case ClipboardMode_Bidirectional:
    92709270            LogRel(("Shared Clipboard: Mode: Bidirectional\n"));
    9271             parm.u.uint32 = VBOX_SHARED_CLIPBOARD_MODE_BIDIRECTIONAL;
     9271            parm.u.uint32 = VBOX_SHCL_MODE_BIDIRECTIONAL;
    92729272            break;
    92739273    }
    92749274
    9275     int vrc = pVMMDev->hgcmHostCall("VBoxSharedClipboard", VBOX_SHARED_CLIPBOARD_HOST_FN_SET_MODE, 1, &parm);
     9275    int vrc = pVMMDev->hgcmHostCall("VBoxSharedClipboard", VBOX_SHCL_HOST_FN_SET_MODE, 1, &parm);
    92769276    if (RT_FAILURE(vrc))
    92779277        LogRel(("Shared Clipboard: Error changing mode: %Rrc\n", vrc));
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r80729 r80847  
    30713071                            VBOXHGCMSVCPARM parm;
    30723072                            HGCMSvcSetU32(&parm, !i_useHostClipboard());
    3073                             rc = SHAREDCLIPBOARDINST()->hostCall(VBOX_SHARED_CLIPBOARD_HOST_FN_SET_HEADLESS, 1, &parm);
     3073                            rc = SHAREDCLIPBOARDINST()->hostCall(VBOX_SHCL_HOST_FN_SET_HEADLESS, 1, &parm);
    30743074                            if (RT_FAILURE(rc))
    30753075                                LogRel(("Shared Clipboard: Unable to set initial headless mode, rc=%Rrc\n", rc));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette