From b300191570fd24fd374360be1b0e4c9a4598a0f2 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Thu, 5 May 2022 20:13:49 +0300 Subject: Autocommit at 05.05.2022 @ 20:13 --- src/ConsoleInterface/Toolbox.cpp | 4 ++-- src/EventSystem/Ticket.h | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp index 4237861..9cec458 100644 --- a/src/ConsoleInterface/Toolbox.cpp +++ b/src/ConsoleInterface/Toolbox.cpp @@ -11,7 +11,7 @@ void _printOrderedListBeginning() { } void _printInputBoxLabel(const char* label) { - std::cout << "<+> " << label; + std::cout << "(+) " << label; } void inputLineBox(const char* label, char* output, unsigned maxWidth) { @@ -29,7 +29,7 @@ void printSuccess(const char* message) { } void printWarning(const char* message) { - std::cout << "" << message << std::endl; + std::cout << " " << message << std::endl; } void printError(const char* message) { diff --git a/src/EventSystem/Ticket.h b/src/EventSystem/Ticket.h index 374612b..5d26e35 100644 --- a/src/EventSystem/Ticket.h +++ b/src/EventSystem/Ticket.h @@ -20,4 +20,7 @@ public: int compare(const Ticket& other) const; }; +std::istream& operator>>(std::istream& istr, Ticket& ticket); +std::ostream& operator<<(std::ostream& ostr, const Ticket& ticket); + #endif -- cgit v1.3.1-26-gb76a