diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-08 14:22:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-08 14:22:49 +0300 |
commit | 0c2def29e3bf56a686305ba7385de45214ec86a4 (patch) | |
tree | 6e310b27035d5dd5dc9d1ada3adf1f724236b3c1 /src/configuration.h | |
parent | b8dbda756100d2ad6c01ddac0247296a74c28742 (diff) | |
download | plus-0c2def29e3bf56a686305ba7385de45214ec86a4.tar.gz plus-0c2def29e3bf56a686305ba7385de45214ec86a4.tar.bz2 plus-0c2def29e3bf56a686305ba7385de45214ec86a4.tar.xz plus-0c2def29e3bf56a686305ba7385de45214ec86a4.zip |
Allow reinit configuration files.
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/configuration.h b/src/configuration.h index 5a843e468..46ba4165a 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -238,6 +238,8 @@ class Configuration final : public ConfigurationObject void init(const std::string &filename, const bool useResManager = false); + void reInit(); + /** * Set the default values for each keys. * @@ -334,6 +336,8 @@ class Configuration final : public ConfigurationObject DefaultsData *mDefaultsData; /**< Defaults of value for a given key */ std::string mDirectory; + std::string mFilename; + bool mUseResManager; }; extern Configuration branding; |