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:
xX-TheDoctor-Xx
2016-10-31 14:05:03 +00:00
parent a9549c33e3
commit 91f80a6c58
11 changed files with 82 additions and 28 deletions

View File

@ -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;