summaryrefslogtreecommitdiff
path: root/src/configuration.h
diff options
context:
space:
mode:
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