From 62161ab3531cc33699e6c5f990acc3e1a099a786 Mon Sep 17 00:00:00 2001 From: Alexander Baldeck Date: Thu, 30 Dec 2004 21:39:53 +0000 Subject: - ported Configuration from lists to map --- src/configuration.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/configuration.h') diff --git a/src/configuration.h b/src/configuration.h index 45c443f8..e4239ef0 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -25,7 +25,7 @@ #define INI_DELIMITER "=" #define INI_COMMENTER "#" -#include +#include #include #include #include @@ -50,13 +50,12 @@ class Configuration { bool keyExists(std::string); typedef struct INI_OPTION { - std::string key; std::string stringValue; float numericValue; }; - std::list iniOptions; - std::list::iterator iter; + std::map iniOptions; + std::map::iterator iter; }; #endif -- cgit v1.2.3-70-g09d2