VirtualBox

Ignore:
Timestamp:
Jan 30, 2007 3:42:55 PM (18 years ago)
Author:
vboxsync
Message:

Main: Added USBDevice to the DeviceType enum to provide USB device activity (search for USB_DEVICE_ACTIVITY in ConsoleImpl.cpp). Thanks to MS COM C++ bingings polluting the global namespace with enum values, I had to rename the USBDevice class to OUSBDevice (and to add the COM_DECL_READONLY_ENUM_AND_COLLECTION_EX_BEGIN macro for even more flexible collection declarations).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/MachineImpl.cpp

    r202 r436  
    13621362            tr ("Invalid boot position: %lu (must be in range [1, %lu])"),
    13631363                aPosition, SchemaDefs::MaxBootPosition);
     1364
     1365    if (aDevice == DeviceType_USBDevice)
     1366        return setError (E_FAIL,
     1367            tr ("Booting from USB devices is not currently supported"));
    13641368
    13651369    AutoCaller autoCaller (this);
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