123456789101112131415161718 |
- #ifndef CONFIG_H
- #define CONFIG_H
- #include <fstream>
- #include <map>
- #include <sstream>
- #include <vector>
- // loads configurationdata from config.txt
- namespace Config {
- bool init(const std::string &filename);
- std::string getValue(const std::string &key);
- extern std::map<std::string, std::string> storage;
- }; // namespace Config
- #endif
|