VirtualBox

Ignore:
Timestamp:
Apr 28, 2016 1:55:03 PM (9 years ago)
Author:
vboxsync
Message:

Main/USBProxy{Service|Backend}: Rework interaction between thos two to be more sane than it currently is (calling into each other back and forth)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/freebsd/USBProxyBackendFreeBSD.cpp

    r60606 r60742  
    153153}
    154154
    155 
    156 bool USBProxyBackendFreeBSD::updateDeviceState(HostUSBDevice *aDevice, PUSBDEVICE aUSBDevice, bool *aRunFilters,
    157                                                SessionMachine **aIgnoreMachine)
    158 {
    159     AssertReturn(aDevice, false);
    160     AssertReturn(!aDevice->isWriteLockOnCurrentThread(), false);
    161 
    162     return updateDeviceStateFake(aDevice, aUSBDevice, aRunFilters, aIgnoreMachine);
    163 }
    164 
    165 
    166 /**
    167  * A device was added
    168  *
    169  * See USBProxyService::deviceAdded for details.
    170  */
    171 void USBProxyBackendFreeBSD::deviceAdded(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList &llOpenedMachines,
    172                                          PUSBDEVICE aUSBDevice)
    173 {
    174     USBProxyBackend::deviceAdded(aDevice, llOpenedMachines, aUSBDevice);
    175 }
    176155
    177156int USBProxyBackendFreeBSD::wait(RTMSINTERVAL aMillies)
     
    227206}
    228207
     208
    229209PUSBDEVICE USBProxyBackendFreeBSD::getDevices(void)
    230210{
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