From e991550abe8f4b13af586d635cdfec3b5c18fcd9 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 16 May 2022 10:09:20 +0200 Subject: Added source= --- src/config/ConfigManager.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/config/ConfigManager.hpp') 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 configPaths; // stores all the config paths + std::unordered_map configModifyTimes; // stores modify times std::unordered_map configDynamicVars; // stores dynamic vars declared by the user std::unordered_map 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 g_pConfigManager; \ No newline at end of file -- cgit v1.2.3