summaryrefslogtreecommitdiff
path: root/src/configuration.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-29 20:45:54 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-29 20:45:54 +0300
commit5b4160a49385bc6895681c5d103a4a5716829e4b (patch)
tree2b0119eef31a34b6345ce2b6f49ff8f0cfbca499 /src/configuration.h
parent085abf777701c8bdb3091084fe851b125e787ae1 (diff)
downloadManaVerse-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.gz
ManaVerse-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.bz2
ManaVerse-5b4160a49385bc6895681c5d103a4a5716829e4b.tar.xz
ManaVerse-5b4160a49385bc6895681c5d103a4a5716829e4b.zip
Simplify remove listener calls.
Diffstat (limited to 'src/configuration.h')
-rw-r--r--src/configuration.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/configuration.h b/src/configuration.h
index 122badfd5..2715ea59c 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -248,6 +248,8 @@ class Configuration : public ConfigurationObject
*/
void removeListener(const std::string &key, ConfigListener *listener);
+ void removeListeners(ConfigListener *listener);
+
void setValue(const std::string &key, const std::string &value);
void setSilent(const std::string &key, const std::string &value);