summaryrefslogtreecommitdiffstats
path: root/src/Common/ConfigManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/ConfigManager.h')
-rw-r--r--src/Common/ConfigManager.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Common/ConfigManager.h b/src/Common/ConfigManager.h
index ccbfbaa..68669d3 100644
--- a/src/Common/ConfigManager.h
+++ b/src/Common/ConfigManager.h
@@ -21,6 +21,7 @@
#define MAD_COMMON_CONFIGMANAGER_H_
#include <string>
+#include <vector>
namespace Mad {
namespace Common {
@@ -29,14 +30,12 @@ class ConfigManager {
protected:
ConfigManager() {}
- virtual bool parseLine(const std::string &key, const std::string &value = std::string()) = 0;
+ virtual bool parseLine(const std::vector<std::string> &section, const std::string &key, const std::string &value = std::string()) = 0;
bool loadFile(const std::string &filename);
public:
virtual ~ConfigManager() {}
-
- //virtual const std::string& getValue(const std::string &value) const = 0;
};
}