Files
VoidNet/include/Config.hpp
xX-TheDoctor-Xx c83b4101d0 New configuration variable, log_to_file
Shutdown function added to TcpClient
Shutdown function added to TcpServer
Renamed socket to server_tcp_socket in TcpServer
Implemented ConfigReader class
2016-07-23 12:35:20 +01:00

23 lines
312 B
C++

#ifndef CONFIG_HPP
#define CONFIG_HPP
#ifdef _MSC_VER
#pragma once
#endif
struct Config
{
static void SetUsingConsole(bool value);
static bool GetUsingConsole();
static void SetLogToFile(bool value);
static bool GetLogToFile();
private:
static bool using_console;
static bool log_to_file;
};
#endif