Files
VoidNet/include/Config.hpp
xX-TheDoctor-Xx 2314e862b1 Added a new type: longlong
TcpClient and TcpServer are now structs intead of classes
Starting with UdpClient
Added 2 new methods to StringConverter: Split and Trim
ConfigReader: Changed ReadNodes return type to void, parameter of operator [] is now a std::string
Starting with the VoidNetServer class which is an all in one for Tcp and Udp
Finally implemented the methods for the ConfigReader
2016-08-16 00:22:10 +01:00

21 lines
309 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