Sketching some basic interfaces

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

21
inc/PrinterTypes.hpp Normal file
View File

@@ -0,0 +1,21 @@
#include <string>
#pragma once
namespace ptprnt::printer {
enum class colorMode {
monochrome = 0,
color = 0,
};
struct info {
std::string name{""};
std::string revision{""};
uint32_t xres = {0};
uint32_t yres = {0};
colorMode color = {colorMode::monochrome};
bool cutter = {false};
};
}