Sketching some basic interfaces

This commit is contained in:
2022-11-01 20:02:47 +01:00
parent bd9a39e185
commit 2913a272d1
13 changed files with 295 additions and 9 deletions

21
inc/P700Driver.hpp Normal file
View File

@@ -0,0 +1,21 @@
#include "IDriver.hpp"
#include <cstdint>
#pragma once
namespace ptprnt::driver {
class P700Driver : public IDriver
{
public:
P700Driver(uint16_t UsbDevVendor = 0x04f9, uint16_t UsbDevId = 0x2061);
~P700Driver() override;
driver::info getInfo() override;
bool open() override;
bool close() override;
bool command() override;
};
}