summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-16 10:09:20 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-16 10:09:20 +0200
commite991550abe8f4b13af586d635cdfec3b5c18fcd9 (patch)
treeb8ffd4a41ec97bc1bb486506087e09fd03ac9244 /src/config/ConfigManager.hpp
parent26cd7d73e5b601836b1b061dee50b543d95eb76a (diff)
Added source=
Diffstat (limited to 'src/config/ConfigManager.hpp')
-rw-r--r--src/config/ConfigManager.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp
index 0539a530..959bdd0d 100644
--- a/src/config/ConfigManager.hpp
+++ b/src/config/ConfigManager.hpp
@@ -76,9 +76,12 @@ public:
std::string parseKeyword(const std::string&, const std::string&, bool dynamic = false);
private:
+ std::deque<std::string> configPaths; // stores all the config paths
+ std::unordered_map<std::string, time_t> configModifyTimes; // stores modify times
std::unordered_map<std::string, std::string> configDynamicVars; // stores dynamic vars declared by the user
std::unordered_map<std::string, SConfigValue> configValues;
- time_t lastModifyTime = 0; // for reloading the config if changed
+
+ std::string configCurrentPath;
std::string currentCategory = ""; // For storing the category of the current item
@@ -108,6 +111,7 @@ private:
void handleDefaultWorkspace(const std::string&, const std::string&);
void handleBezier(const std::string&, const std::string&);
void handleAnimation(const std::string&, const std::string&);
+ void handleSource(const std::string&, const std::string&);
};
inline std::unique_ptr<CConfigManager> g_pConfigManager; \ No newline at end of file