diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-01 00:09:32 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-01 00:09:32 +0300 |
commit | 029818ba44703c5151f8d916284e307b05d08fa9 (patch) | |
tree | 785726402146454e69acf1b18ad12f6890e29932 /src/configuration.h | |
parent | 1936a2bcfad1b37385aec3d84efabf2570a8c9e8 (diff) | |
download | ManaVerse-029818ba44703c5151f8d916284e307b05d08fa9.tar.gz ManaVerse-029818ba44703c5151f8d916284e307b05d08fa9.tar.bz2 ManaVerse-029818ba44703c5151f8d916284e307b05d08fa9.tar.xz ManaVerse-029818ba44703c5151f8d916284e307b05d08fa9.zip |
Add configure option --enable-checks for check some calls (disabled by default)
Also add configuration listeners removing in objects.
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/configuration.h b/src/configuration.h index 54e5e2ca7..774678b50 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -282,6 +282,12 @@ class Configuration final : public ConfigurationObject void removeListeners(ConfigListener *const listener); +#ifdef ENABLE_CHECKS + void checkListeners(ConfigListener *const listener, + const char *const file, + const unsigned line); +#endif + void setValue(const std::string &key, const std::string &value); void incValue(const std::string &key); |