removed obsolete inc directory
This commit is contained in:
23
inc/Usb.hpp
23
inc/Usb.hpp
@@ -1,23 +0,0 @@
|
||||
#include "IUsb.hpp"
|
||||
#include "UsbTypes.hpp"
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace ptprnt::driver {
|
||||
|
||||
class Usb : public IUsb {
|
||||
public:
|
||||
Usb();
|
||||
~Usb() override;
|
||||
|
||||
std::optional<std::vector<UsbDevice>> getDevices() override;
|
||||
std::optional<UsbDevice> open(UsbDevice) override;
|
||||
bool close(UsbDevice) override;
|
||||
|
||||
private:
|
||||
libusb_device** mLibUsbDevs;
|
||||
// TODO: This should be a std::map with handles & locking on access
|
||||
std::vector<UsbDevice> mDevices{};
|
||||
};
|
||||
|
||||
} // namespace ptprnt::driver
|
Reference in New Issue
Block a user