diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-02 19:31:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-02 19:31:34 +0300 |
commit | 63d82eada2fccdecf3c90452e93860a37656e7c4 (patch) | |
tree | 1b0fdd869d9066524057339212b7255e59c8485b /src/configuration.h | |
parent | edc8de3400acbbae60930a9c1d4f946df5b2e68f (diff) | |
download | plus-63d82eada2fccdecf3c90452e93860a37656e7c4.tar.gz plus-63d82eada2fccdecf3c90452e93860a37656e7c4.tar.bz2 plus-63d82eada2fccdecf3c90452e93860a37656e7c4.tar.xz plus-63d82eada2fccdecf3c90452e93860a37656e7c4.zip |
auto save config if it was changed in game each 10 seconds.
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/configuration.h b/src/configuration.h index daa10f51b..d6bcda348 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -346,6 +346,8 @@ class Configuration final : public ConfigurationObject std::string getFileName() const A_WARN_UNUSED { return mFilename; } + void writeUpdated(); + private: /** * Clean up the default values member. @@ -365,6 +367,7 @@ class Configuration final : public ConfigurationObject std::string mDirectory; std::string mFilename; bool mUseResManager; + bool mUpdated; }; extern Configuration branding; |