summaryrefslogtreecommitdiff
path: root/src/configuration.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-01 18:45:41 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-03-01 18:45:41 +0000
commitb0d90c3fdc77d5b9373cb623f310ea7d30a86c4c (patch)
treefe1f75d5934e6648c5b99413236338cfa344ee2d /src/configuration.h
parent806438ec060fcf1a6f1cca3c81b8211979c601ed (diff)
downloadmana-b0d90c3fdc77d5b9373cb623f310ea7d30a86c4c.tar.gz
mana-b0d90c3fdc77d5b9373cb623f310ea7d30a86c4c.tar.bz2
mana-b0d90c3fdc77d5b9373cb623f310ea7d30a86c4c.tar.xz
mana-b0d90c3fdc77d5b9373cb623f310ea7d30a86c4c.zip
Simplified configuration.
Diffstat (limited to 'src/configuration.h')
-rw-r--r--src/configuration.h24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/configuration.h b/src/configuration.h
index 03950230..6f1cfb11 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -76,29 +76,9 @@ class Configuration {
* \param deflt Default option if not there or error.
*/
float getValue(std::string key, float deflt);
- private:
- /**
- * Returns wether they given key exists.
- */
- bool keyExists(std::string key);
-
- /**
- * A simple data structure to store the value of a configuration
- * option.
- */
- class OptionValue {
- public:
- /**
- * Constructor.
- */
- OptionValue();
- std::string stringValue;
- float numericValue;
- };
-
- std::map<std::string, OptionValue> iniOptions;
- std::map<std::string, OptionValue>::iterator iter;
+ private:
+ std::map<std::string, std::string> options;
};
#endif