diff options
Autocommit at 05.05.2022 @ 20:03
2 files changed, 7 insertions, 2 deletions
| -rw-r--r-- | src/ConsoleInterface/Toolbox.cpp | 8 | ||||
| -rw-r--r-- | src/ConsoleInterface/Toolbox.hpp | 1 |
diff --git a/src/ConsoleInterface/Toolbox.cpp b/src/ConsoleInterface/Toolbox.cpp index fbc7806..4237861 100644 --- a/src/ConsoleInterface/Toolbox.cpp +++ b/src/ConsoleInterface/Toolbox.cpp @@ -25,10 +25,14 @@ void printTitle(const char* title) { } void printSuccess(const char* message) { - std::cout << "... " << message << std::endl; + std::cout << "<S> " << message << std::endl; +} + +void printWarning(const char* message) { + std::cout << "<W>" << message << std::endl; } void printError(const char* message) { - std::cout << "!!! Err: " << message << std::endl; + std::cout << "<E> " << message << std::endl; } diff --git a/src/ConsoleInterface/Toolbox.hpp b/src/ConsoleInterface/Toolbox.hpp index b75b597..9bfba55 100644 --- a/src/ConsoleInterface/Toolbox.hpp +++ b/src/ConsoleInterface/Toolbox.hpp @@ -58,6 +58,7 @@ void inputLineBox(const char* label, char* output, unsigned maxWidth); void printTitle(const char* title); void printSuccess(const char* message); +void printWarning(const char* message); void printError(const char* message); #endif |
