summaryrefslogtreecommitdiff
path: root/src/VBox/Main/testcase/tstUSBProxyLinux.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2016-03-16 19:17:22 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2016-03-16 19:17:22 +0000
commit7297168b42e116e39686219718c4630e7f5d0789 (patch)
tree6ee5249f7301dd2aa36393f1bdf8256086b2d2b9 /src/VBox/Main/testcase/tstUSBProxyLinux.cpp
parentb04e8b7219d5795d4537eec00157206a3d5cb678 (diff)
downloadVirtualBox-svn-7297168b42e116e39686219718c4630e7f5d0789.tar.gz
Main: 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@60067 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/Main/testcase/tstUSBProxyLinux.cpp')
-rw-r--r--src/VBox/Main/testcase/tstUSBProxyLinux.cpp38
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;