1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

Fix build, reduce includes of CConsoleHandler

This commit is contained in:
Ivan Savenko
2025-02-28 11:37:56 +00:00
parent dd1b877449
commit 06be6b909c
12 changed files with 63 additions and 63 deletions

View File

@@ -10,12 +10,11 @@
#pragma once
#include "../CConsoleHandler.h"
VCMI_LIB_NAMESPACE_BEGIN
class CConsoleHandler;
class JsonNode;
enum class EConsoleTextColor : int8_t;
/// The class CBasicLogConfigurator reads log properties from settings.json and
/// sets up the logging system. Make sure that you use the same configurator object to
@@ -42,7 +41,7 @@ private:
static ELogLevel::ELogLevel getLogLevel(const std::string & level);
// Gets EConsoleTextColor enum from strings. (Should be moved to CLogger as a separate function?)
// Throws: std::runtime_error
static EConsoleTextColor::EConsoleTextColor getConsoleColor(const std::string & colorName);
static EConsoleTextColor getConsoleColor(const std::string & colorName);
boost::filesystem::path filePath;
CConsoleHandler * console;