Files
VoidNet/include/Config.hpp
xX-TheDoctor-Xx 91f80a6c58 TcpClient: replaced C style function parameters with std::function
Added initialization to config
Added receiving for UdpClient
Removed InitWindows.cpp
Laying foundation for PluginManager
2016-10-31 14:05:03 +00:00

27 lines
408 B
C++

#ifndef CONFIG_HPP
#define CONFIG_HPP
#ifdef _MSC_VER
#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;
};
#endif