diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-13 22:56:33 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-13 22:56:33 +0100 |
commit | 59f441730d8dbd7574b2fe4c9a430be256449cab (patch) | |
tree | fe01d073652e9c0615828afc0d99ac6ee35b75fd /src/configuration.h | |
parent | 7d5c6124e9c9cf447286eaa58afe17adf6c1a81d (diff) | |
download | mana-59f441730d8dbd7574b2fe4c9a430be256449cab.tar.gz mana-59f441730d8dbd7574b2fe4c9a430be256449cab.tar.bz2 mana-59f441730d8dbd7574b2fe4c9a430be256449cab.tar.xz mana-59f441730d8dbd7574b2fe4c9a430be256449cab.zip |
Code style reformatting
Got rid of "void" in functions that take no arguments and removed the
newline after the return type of a method in many places.
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/configuration.h b/src/configuration.h index 3751d429..0c2363e5 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -71,7 +71,7 @@ class ConfigurationObject friend class Configuration; public: - virtual ~ConfigurationObject(void); + virtual ~ConfigurationObject(); /** * Sets an option using a string value. @@ -108,7 +108,7 @@ class ConfigurationObject /** * Re-sets all data in the configuration */ - virtual void clear(void); + virtual void clear(); /** * Serialises a container into a list of configuration options @@ -158,7 +158,7 @@ class ConfigurationObject { ConfigurationList *list = &(mContainerOptions[name]); CONT container = empty; - + for (ConfigurationList::const_iterator it = list->begin(); it != list->end(); it++) container = manager->readConfigItem(*it, container); @@ -187,7 +187,7 @@ class ConfigurationObject class Configuration : public ConfigurationObject { public: - virtual ~Configuration(void) {} + virtual ~Configuration() {} /** * Reads config file and parse all options into memory. @@ -214,6 +214,7 @@ class Configuration : public ConfigurationObject virtual void setValue(const std::string &key, std::string value); virtual void setValue(const std::string &key, float value); + private: typedef std::list<ConfigListener*> Listeners; typedef Listeners::iterator ListenerIterator; |