Last Update (partial) have to link every file in the right place

This commit is contained in:
2022-03-15 20:15:05 +01:00
parent f63416b787
commit e65aed8412
10 changed files with 31 additions and 4 deletions

26
core/Config.hpp Normal file
View File

@@ -0,0 +1,26 @@
#include <map>
#include <string>
#include <fstream>
#ifndef CONFIG_H
#define CONFIG_H
class Config
{
private:
std::map<std::string, std::string> config_map;
std::ifstream config_file;
public:
Config(const char* filename);
void loadConfig();
void setConfFile(const char* filename);
void printConfig();
std::string getValue(std::string key);
};
#endif /* CONFIG_H */