Added source=

This commit is contained in:
vaxerski
2022-05-16 10:09:20 +02:00
parent 26cd7d73e5
commit e991550abe
2 changed files with 92 additions and 16 deletions

View File

@@ -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;