Changeset 60068 in vbox for trunk/src/VBox/Main/testcase/tstUSBProxyLinux.cpp
- Timestamp:
- Mar 16, 2016 7:43:56 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 106059
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/tstUSBProxyLinux.cpp
r60067 r60068 21 21 *********************************************************************************************************************************/ 22 22 23 #include "USBProxyBackend.h" 23 24 #include "USBGetDevices.h" 24 25 … … 30 31 31 32 /*** BEGIN STUBS ***/ 33 34 USBProxyBackend::USBProxyBackend(USBProxyService*) {} 35 USBProxyBackend::~USBProxyBackend() {} 36 int USBProxyBackend::init() { return VINF_SUCCESS; } 37 int USBProxyBackend::start() { return VINF_SUCCESS; } 38 int USBProxyBackend::stop() { return VINF_SUCCESS; } 39 RWLockHandle *USBProxyBackend::lockHandle() const { return NULL; } 40 void *USBProxyBackend::insertFilter(USBFILTER const*) { return NULL; } 41 void USBProxyBackend::removeFilter(void*) {} 42 int USBProxyBackend::captureDevice(HostUSBDevice*) { return VINF_SUCCESS; } 43 void USBProxyBackend::captureDeviceCompleted(HostUSBDevice*, bool) {} 44 void USBProxyBackend::detachingDevice(HostUSBDevice*) {} 45 int USBProxyBackend::releaseDevice(HostUSBDevice*) { return VINF_SUCCESS; } 46 void USBProxyBackend::releaseDeviceCompleted(HostUSBDevice*, bool) {} 47 void USBProxyBackend::serviceThreadInit() {} 48 void USBProxyBackend::serviceThreadTerm() {} 49 int USBProxyBackend::wait(unsigned int) { return VINF_SUCCESS; } 50 int USBProxyBackend::interruptWait() { return VINF_SUCCESS; } 51 PUSBDEVICE USBProxyBackend::getDevices() { return NULL; } 52 void USBProxyBackend::deviceAdded(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList &llOpenedMachines, PUSBDEVICE aUSBDevice) {} 53 void USBProxyBackend::deviceRemoved(ComObjPtr<HostUSBDevice> &aDevice) {} 54 void USBProxyBackend::deviceChanged(ComObjPtr<HostUSBDevice> &aDevice, SessionMachinesList*, SessionMachine*) {} 55 bool USBProxyBackend::updateDeviceState(HostUSBDevice*, USBDEVICE*, bool*, SessionMachine**) { return true; } 56 bool USBProxyBackend::updateDeviceStateFake(HostUSBDevice*, USBDEVICE*, bool*, SessionMachine**) { return true; } 57 bool USBProxyBackend::isActive() { return true; } 58 59 VBoxMainHotplugWaiter::VBoxMainHotplugWaiter(char const*) {} 60 61 com::Utf8Str HostUSBDevice::i_getName() 62 { 63 return Utf8Str(); 64 } 65 66 void SysFreeString(BSTR bstr) 67 { 68 Assert(0); 69 } 32 70 33 71 static struct
Note:
See TracChangeset
for help on using the changeset viewer.