Changeset 60089 in vbox for trunk/src/VBox/Main/testcase
- Timestamp:
- Mar 18, 2016 10:51:02 AM (9 years ago)
- Location:
- trunk/src/VBox/Main/testcase
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/testcase/Makefile.kmk
r60068 r60089 208 208 tstUSBProxyLinux_SOURCES = \ 209 209 tstUSBProxyLinux.cpp \ 210 ../src-server/linux/USBProxyBackendLinux.cpp \211 210 ../src-server/linux/USBGetDevices.cpp 212 211 tstUSBProxyLinux_INCS = \ -
trunk/src/VBox/Main/testcase/tstUSBProxyLinux.cpp
r60068 r60089 21 21 *********************************************************************************************************************************/ 22 22 23 #include "USBProxyBackend.h"24 23 #include "USBGetDevices.h" 25 24 … … 31 30 32 31 /*** 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 }70 32 71 33 static struct
Note:
See TracChangeset
for help on using the changeset viewer.