fix
This commit is contained in:
14
src/config.h
Normal file
14
src/config.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
class Config
|
||||
{
|
||||
public:
|
||||
Config(const std::string &filepath);
|
||||
std::string get(const std::string &key) const;
|
||||
|
||||
private:
|
||||
std::map<std::string, std::string> config_map;
|
||||
void load(const std::string &filepath);
|
||||
};
|
||||
Reference in New Issue
Block a user