From 0c2def29e3bf56a686305ba7385de45214ec86a4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Oct 2012 14:22:49 +0300 Subject: Allow reinit configuration files. --- src/configuration.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/configuration.h') 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; -- cgit v1.2.3-60-g2f50