ServidorTFG/config_reader.h

16 lines
267 B
C
Raw Normal View History

2020-05-08 12:43:46 +02:00
#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