summaryrefslogtreecommitdiff
path: root/src/config/ConfigManager.hpp
diff options
context:
space:
mode:
authorFlafyDev <flafyarazi@gmail.com>2022-08-19 23:18:09 +0300
committerFlafyDev <flafyarazi@gmail.com>2022-08-19 23:18:09 +0300
commitf0ad77251b28fcf48dcaf25f23e3a140d69a4735 (patch)
tree4a4b96c67ced9d14c1850b466eb2b6f8587140b3 /src/config/ConfigManager.hpp
parent69d17bf4240e41f2b26abd7a46dfd0e754e9ee9e (diff)
move absolutePath to MiscFunctions
Diffstat (limited to 'src/config/ConfigManager.hpp')
-rw-r--r--src/config/ConfigManager.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/config/ConfigManager.hpp b/src/config/ConfigManager.hpp
index 05e00921..72eb58f6 100644
--- a/src/config/ConfigManager.hpp
+++ b/src/config/ConfigManager.hpp
@@ -101,12 +101,13 @@ public:
void ensureDPMS();
std::string parseKeyword(const std::string&, const std::string&, bool dynamic = false);
- std::string absolutePath(const std::string&);
void addParseError(const std::string&);
SAnimationPropertyConfig* getAnimationPropertyConfig(const std::string&);
+ std::string configCurrentPath;
+
private:
std::deque<std::string> configPaths; // stores all the config paths
std::unordered_map<std::string, time_t> configModifyTimes; // stores modify times
@@ -116,8 +117,6 @@ private:
std::unordered_map<std::string, SAnimationPropertyConfig> animationConfig; // stores all the animations with their set values
- std::string configCurrentPath;
-
std::string currentCategory = ""; // For storing the category of the current item
std::string parseError = ""; // For storing a parse error to display later