diff --git a/application/commandlineutils.h b/application/commandlineutils.h index 91d841d..13c55dd 100644 --- a/application/commandlineutils.h +++ b/application/commandlineutils.h @@ -26,15 +26,19 @@ bool CPP_UTILITIES_EXPORT confirmPrompt(const char *message, Response defaultRes #ifdef PLATFORM_WINDOWS void CPP_UTILITIES_EXPORT startConsole(); +void CPP_UTILITIES_EXPORT stopConsole(); std::pair >, std::vector > CPP_UTILITIES_EXPORT convertArgsToUtf8(); # define CMD_UTILS_START_CONSOLE \ ::ApplicationUtilities::startConsole(); +# define CMD_UTILS_STOP_CONSOLE \ + ::ApplicationUtilities::stopConsole(); # define CMD_UTILS_CONVERT_ARGS_TO_UTF8 \ auto utf8Args = ::ApplicationUtilities::convertArgsToUtf8(); \ argv = utf8Args.second.data(); \ argc = static_cast(utf8Args.second.size()); #else # define CMD_UTILS_START_CONSOLE +# define CMD_UTILS_STOP_CONSOLE # define CMD_UTILS_CONVERT_ARGS_TO_UTF8 #endif