first commit, base server
This commit is contained in:
15
config_reader.h
Normal file
15
config_reader.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef CONFIG_READER_H
|
||||
#define CONFIG_READER_H
|
||||
#include <string>
|
||||
#include <fstream>
|
||||
|
||||
class config_reader
|
||||
{
|
||||
public:
|
||||
config_reader(std::string);
|
||||
bool get_param(std::string variable, std::string &value);
|
||||
private:
|
||||
std::ifstream file;
|
||||
};
|
||||
|
||||
#endif // CONFIG_READER_H
|
||||
Reference in New Issue
Block a user