diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-24 20:15:19 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2006-02-24 20:15:19 +0000 |
commit | 1c4742e530271e10ae949cf7e85402bee867e298 (patch) | |
tree | f95927614c4f9a84a507c9425b882f945be6d09f /src/configuration.h | |
parent | 05a12d5568111fa13759026442ed358605bf9a28 (diff) | |
download | mana-1c4742e530271e10ae949cf7e85402bee867e298.tar.gz mana-1c4742e530271e10ae949cf7e85402bee867e298.tar.bz2 mana-1c4742e530271e10ae949cf7e85402bee867e298.tar.xz mana-1c4742e530271e10ae949cf7e85402bee867e298.zip |
Another bunch of cosmetic cleanups, ie mostly typedefs...
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/configuration.h b/src/configuration.h index d2f44dca..28246a02 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -94,8 +94,15 @@ class Configuration void removeListener(const std::string &key, ConfigListener *listener); private: - std::map<std::string, std::string> options; - std::map<std::string, std::list<ConfigListener*> > listeners; + typedef std::map<std::string, std::string> Options; + typedef Options::iterator OptionIterator; + Options mOptions; + + typedef std::list<ConfigListener*> Listeners; + typedef Listeners::iterator ListenerIterator; + typedef std::map<std::string, Listeners> ListenerMap; + typedef ListenerMap::iterator ListenerMapIterator; + ListenerMap mListenerMap; std::string mConfigPath; /**< Location of config file */ }; |