Website Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
2 files changed, 5 insertions, 2 deletions
-rw-r--r--src/ConsoleInterface/Toolbox.cpp4
-rw-r--r--src/EventSystem/Ticket.h3
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 << "<W>" << message << std::endl;
+ std::cout << "<W> " << 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