VirtualBox

Changeset 60107 in vbox for trunk/include


Ignore:
Timestamp:
Mar 19, 2016 10:22:46 AM (9 years ago)
Author:
vboxsync
Message:

Main/USBProxyService: Save any additional USB device sources in the global configuration and load them during startup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/settings.h

    r58437 r60107  
    289289////////////////////////////////////////////////////////////////////////////////
    290290
     291struct USBDeviceSource
     292{
     293    com::Utf8Str            strName;
     294    com::Utf8Str            strBackend;
     295    com::Utf8Str            strAddress;
     296    StringsMap              properties;
     297};
     298
     299typedef std::list<USBDeviceSource> USBDeviceSourcesList;
     300
    291301struct Host
    292302{
    293303    USBDeviceFiltersList    llUSBDeviceFilters;
     304    USBDeviceSourcesList    llUSBDeviceSources;
    294305};
    295306
     
    435446private:
    436447    void bumpSettingsVersionIfNeeded();
     448    void buildUSBDeviceSources(xml::ElementNode &elmParent, const USBDeviceSourcesList &ll);
     449    void readUSBDeviceSources(const xml::ElementNode &elmDeviceSources, USBDeviceSourcesList &ll);
    437450};
    438451
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