VirtualBox

Ignore:
Timestamp:
May 30, 2014 2:58:02 PM (11 years ago)
Author:
vboxsync
Message:

DnD: API overhaul; now using IDnDTarget + IDnDSource. Renamed DragAndDrop* enumerations to DnD*. Also rewrote some internal code.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox

  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageModifyVM.cpp

    r51259 r51476  
    21682168            case MODIFYVM_DRAGANDDROP:
    21692169            {
    2170                 DragAndDropMode_T mode;
     2170                DnDMode_T mode;
    21712171                if (!RTStrICmp(ValueUnion.psz, "disabled"))
    2172                     mode = DragAndDropMode_Disabled;
     2172                    mode = DnDMode_Disabled;
    21732173                else if (!RTStrICmp(ValueUnion.psz, "hosttoguest"))
    2174                     mode = DragAndDropMode_HostToGuest;
     2174                    mode = DnDMode_HostToGuest;
    21752175                else if (!RTStrICmp(ValueUnion.psz, "guesttohost"))
    2176                     mode = DragAndDropMode_GuestToHost;
     2176                    mode = DnDMode_GuestToHost;
    21772177                else if (!RTStrICmp(ValueUnion.psz, "bidirectional"))
    2178                     mode = DragAndDropMode_Bidirectional;
     2178                    mode = DnDMode_Bidirectional;
    21792179                else
    21802180                {
     
    21842184                if (SUCCEEDED(rc))
    21852185                {
    2186                     CHECK_ERROR(machine, COMSETTER(DragAndDropMode)(mode));
     2186                    CHECK_ERROR(machine, COMSETTER(DnDMode)(mode));
    21872187                }
    21882188                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