Add files
This commit is contained in:
12
config.hpp
Normal file
12
config.hpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <unordered_map>
|
||||
#include <string>
|
||||
|
||||
class Config {
|
||||
public:
|
||||
std::unordered_map<std::string, std::string> configs;
|
||||
Config() {
|
||||
configs["defaultFont"] = "微软雅黑";
|
||||
configs["stringReplaceFile"] = "";
|
||||
}
|
||||
bool Load(std::string path);
|
||||
};
|
||||
Reference in New Issue
Block a user