Re-structured project
This commit is contained in:
35
src/libusbwrap/UsbDevice.cpp
Normal file
35
src/libusbwrap/UsbDevice.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
#include "libusbwrap/UsbDevice.hpp"
|
||||
|
||||
#include "libusbwrap/interface/IUsbDevice.hpp"
|
||||
|
||||
namespace libusbwrap {
|
||||
UsbDevice::UsbDevice() {}
|
||||
|
||||
UsbDevice::~UsbDevice() {}
|
||||
|
||||
Error UsbDevice::open() {
|
||||
return Error::SUCCESS;
|
||||
}
|
||||
|
||||
void UsbDevice::close() {}
|
||||
|
||||
const uint16_t UsbDevice::getVid() {
|
||||
return 0x0000;
|
||||
}
|
||||
|
||||
const uint16_t UsbDevice::getPid() {
|
||||
return 0x0000;
|
||||
}
|
||||
|
||||
const device::Speed UsbDevice::getSpeed() {
|
||||
return device::Speed::FULL;
|
||||
}
|
||||
|
||||
const uint8_t UsbDevice::getBusNumber() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
const uint8_t UsbDevice::getPortNumber() {
|
||||
return 0;
|
||||
}
|
||||
} // namespace libusbwrap
|
||||
Reference in New Issue
Block a user