TcpClient: replaced C style function parameters with std::function
Added initialization to config Added receiving for UdpClient Removed InitWindows.cpp Laying foundation for PluginManager
This commit is contained in:
@ -5,14 +5,20 @@
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include "Utility.hpp"
|
||||
|
||||
struct Config
|
||||
{
|
||||
static void Initialize();
|
||||
|
||||
static void SetUsingConsole(bool value);
|
||||
static bool GetUsingConsole();
|
||||
|
||||
static void SetLogToFile(bool value);
|
||||
static bool GetLogToFile();
|
||||
|
||||
static Utility::ConfigReader Configuration;
|
||||
|
||||
private:
|
||||
static bool using_console;
|
||||
static bool log_to_file;
|
||||
|
||||
Reference in New Issue
Block a user