summaryrefslogtreecommitdiffstats
path: root/src/Common/Configurable.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-10-21 18:35:42 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-10-21 18:35:42 +0200
commit6bd58c61a1668d336f45443c602e850e965ad368 (patch)
treed48420599501a223eb3018dd998c886b49bbab96 /src/Common/Configurable.h
parente3d0c98e5a867518800bc79c18f7b13755c056e0 (diff)
downloadmad-6bd58c61a1668d336f45443c602e850e965ad368.tar
mad-6bd58c61a1668d336f45443c602e850e965ad368.zip
Interface des ConfigManagers vereinfacht
Diffstat (limited to 'src/Common/Configurable.h')
-rw-r--r--src/Common/Configurable.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/Common/Configurable.h b/src/Common/Configurable.h
index 8c2c083..0f16058 100644
--- a/src/Common/Configurable.h
+++ b/src/Common/Configurable.h
@@ -20,12 +20,10 @@
#ifndef MAD_COMMON_CONFIGURABLE_H_
#define MAD_COMMON_CONFIGURABLE_H_
-#include <string>
-#include <vector>
-
namespace Mad {
namespace Common {
+class ConfigEntry;
class ConfigManager;
class Configurable {
@@ -38,7 +36,7 @@ class Configurable {
protected:
friend class ConfigManager;
- virtual bool handleConfigEntry(const std::vector<std::vector<std::string> >&, bool) {return false;}
+ virtual bool handleConfigEntry(const ConfigEntry&, bool) {return false;}
virtual void configFinished() {}
};