Multilabel support & Label refactoring (#17)
All checks were successful
Build ptprnt / build (push) Successful in 3m47s
All checks were successful
Build ptprnt / build (push) Successful in 3m47s
Reviewed-on: moritz/ptouch-prnt#17
This commit was merged in pull request #17.
This commit is contained in:
@@ -27,7 +27,7 @@ namespace ptprnt::cli {
|
||||
/**
|
||||
* @brief Types of CLI commands that can be issued
|
||||
*/
|
||||
enum class CommandType { None = 0, Text = 1, FontSize = 2, Font = 3, VAlign = 4, HAlign = 5 };
|
||||
enum class CommandType { None = 0, Text = 1, FontSize = 2, Font = 3, VAlign = 4, HAlign = 5, NewLabel = 6 };
|
||||
|
||||
/**
|
||||
* @brief A command with its type and value
|
||||
@@ -55,6 +55,12 @@ class ICliParser {
|
||||
public:
|
||||
virtual ~ICliParser() = default;
|
||||
|
||||
ICliParser() = default;
|
||||
ICliParser(const ICliParser&) = default;
|
||||
ICliParser& operator=(const ICliParser&) = default;
|
||||
ICliParser(ICliParser&&) noexcept = default;
|
||||
ICliParser& operator=(ICliParser&&) noexcept = default;
|
||||
|
||||
/**
|
||||
* @brief Parse command line arguments
|
||||
* @param argc Argument count
|
||||
|
||||
Reference in New Issue
Block a user