Formatting...
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "UsbTypes.hpp"
|
||||
|
||||
#include <vector>
|
||||
#include <optional>
|
||||
#include <vector>
|
||||
|
||||
#pragma once
|
||||
|
||||
|
@@ -10,8 +10,9 @@
|
||||
namespace ptprnt::driver {
|
||||
|
||||
class P700Driver : public IDriver {
|
||||
public:
|
||||
P700Driver(std::shared_ptr<Usb> usbDriver, uint16_t usbDevVendor = 0x04f9, uint16_t usbDevId = 0x2061);
|
||||
public:
|
||||
P700Driver(std::shared_ptr<Usb> usbDriver, uint16_t usbDevVendor = 0x04f9,
|
||||
uint16_t usbDevId = 0x2061);
|
||||
~P700Driver() override;
|
||||
|
||||
driver::info getInfo() override;
|
||||
@@ -19,7 +20,7 @@ class P700Driver : public IDriver {
|
||||
bool close() override;
|
||||
bool command() override;
|
||||
|
||||
private:
|
||||
private:
|
||||
std::shared_ptr<Usb> mUsbDriver{0};
|
||||
UsbDevice mUsbDev{0};
|
||||
|
||||
|
@@ -8,13 +8,13 @@
|
||||
namespace ptprnt::driver {
|
||||
|
||||
class Usb : public IUsb {
|
||||
public:
|
||||
public:
|
||||
Usb();
|
||||
~Usb() override;
|
||||
|
||||
std::optional<std::vector<UsbDevice>> getDevices() override;
|
||||
|
||||
private:
|
||||
private:
|
||||
std::vector<UsbDevice> mDevices{};
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user