diff options
| author | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2016-03-18 10:51:02 +0000 |
|---|---|---|
| committer | vboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f> | 2016-03-18 10:51:02 +0000 |
| commit | 731ee0a524189ccac4e4ecf91743dc292938f840 (patch) | |
| tree | bcb15b9e859e73867b8f07e6158341d50d17d4d7 /src/VBox/Main/testcase/tstUSBProxyLinux.cpp | |
| parent | 791b78debecb19329522ddf2c156ff08a13008bc (diff) | |
| download | VirtualBox-svn-731ee0a524189ccac4e4ecf91743dc292938f840.tar.gz | |
Main,VBoxManage: Add API to IHost for adding and removing USB device sources in addition to the default host one (only USB/IP backend supported so far which will be used in the future for automatic USB testing). Add support for it in VBoxManage
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@60089 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Main/testcase/tstUSBProxyLinux.cpp')
| -rw-r--r-- | src/VBox/Main/testcase/tstUSBProxyLinux.cpp | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/VBox/Main/testcase/tstUSBProxyLinux.cpp b/src/VBox/Main/testcase/tstUSBProxyLinux.cpp index 3a878eb9812..cf35e227316 100644 --- a/src/VBox/Main/testcase/tstUSBProxyLinux.cpp +++ b/src/VBox/Main/testcase/tstUSBProxyLinux.cpp @@ -20,7 +20,6 @@ * Header Files * *********************************************************************************************************************************/ -#include "USBProxyBackend.h" #include "USBGetDevices.h" #include <VBox/err.h> @@ -31,43 +30,6 @@ /*** BEGIN STUBS ***/ -USBProxyBackend::USBProxyBackend(USBProxyService*) {} -USBProxyBackend::~USBProxyBackend() {} -int USBProxyBackend::init() { return VINF_SUCCESS; } -int USBProxyBackend::start() { return VINF_SUCCESS; } -int USBProxyBackend::stop() { return VINF_SUCCESS; } -RWLockHandle *USBProxyBackend::lockHandle() const { return NULL; } -void *USBProxyBackend::insertFilter(USBFILTER const*) { return NULL; } -void USBProxyBackend::removeFilter(void*) {} -int USBProxyBackend::captureDevice(HostUSBDevice*) { return VINF_SUCCESS; } -void USBProxyBackend::captureDeviceCompleted(HostUSBDevice*, bool) {} -void USBProxyBackend::detachingDevice(HostUSBDevice*) {} -int USBProxyBackend::releaseDevice(HostUSBDevice*) { return VINF_SUCCESS; } -void USBProxyBackend::releaseDeviceCompleted(HostUSBDevice*, bool) {} -void USBProxyBackend::serviceThreadInit() {} -void USBProxyBackend::serviceThreadTerm() {} -int USBProxyBackend::wait(unsigned int) { return VINF_SUCCESS; } -int USBProxyBackend::interruptWait() { return VINF_SUCCESS; } -PUSBDEVICE USBProxyBackend::getDevices() { return NULL; } -void USBProxyBackend::deviceAdded(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList &llOpenedMachines, PUSBDEVICE aUSBDevice) {} -void USBProxyBackend::deviceRemoved(ComObjPtr<HostUSBDevice> &aDevice) {} -void USBProxyBackend::deviceChanged(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList*, SessionMachine*) {} -bool USBProxyBackend::updateDeviceState(HostUSBDevice*, USBDEVICE*, bool*, SessionMachine**) { return true; } -bool USBProxyBackend::updateDeviceStateFake(HostUSBDevice*, USBDEVICE*, bool*, SessionMachine**) { return true; } -bool USBProxyBackend::isActive() { return true; } - -VBoxMainHotplugWaiter::VBoxMainHotplugWaiter(char const*) {} - -com::Utf8Str HostUSBDevice::i_getName() -{ - return Utf8Str(); -} - -void SysFreeString(BSTR bstr) -{ - Assert(0); -} - static struct { const char *pcszEnvUsb; |
