16 lines
267 B
C
16 lines
267 B
C
|
#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
|