summaryrefslogtreecommitdiffstats
path: root/src/Core/ConfigManager.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-07-08 04:54:10 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-07-08 04:54:10 +0200
commite000cdf9d31433c4e90a8b59415de5ac8377005d (patch)
tree7cf035fec531837c2ca6fc27c2accdee8e346fe7 /src/Core/ConfigManager.h
parent30f0cb9154306938250bd77ce2f0a9471065732a (diff)
downloadmad-e000cdf9d31433c4e90a8b59415de5ac8377005d.tar
mad-e000cdf9d31433c4e90a8b59415de5ac8377005d.zip
Verschachtelte Konfigurationen (D?mon-Liste)
Diffstat (limited to 'src/Core/ConfigManager.h')
-rw-r--r--src/Core/ConfigManager.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Core/ConfigManager.h b/src/Core/ConfigManager.h
index 00c5933..6a5cf2c 100644
--- a/src/Core/ConfigManager.h
+++ b/src/Core/ConfigManager.h
@@ -20,6 +20,7 @@
#ifndef MAD_CORE_CONFIGMANAGER_H_
#define MAD_CORE_CONFIGMANAGER_H_
+#include "DaemonInfo.h"
#include <Common/ConfigManager.h>
#include <Net/IPAddress.h>
#include <vector>
@@ -36,17 +37,17 @@ class ConfigManager : public Common::ConfigManager {
unsigned short methods;
std::vector<Net::IPAddress> listeners;
+ std::vector<DaemonInfo> daemons;
protected:
- virtual bool parseLine(const std::string &key, const std::string &value);
+ virtual bool parseLine(const std::vector<std::string> &section, const std::string &key, const std::string &value);
public:
ConfigManager();
virtual ~ConfigManager();
const std::vector<Net::IPAddress>& getListenerAddresses() const {return listeners;}
-
- //virtual const std::string& getValue(const std::string &value) const;
+ const std::vector<DaemonInfo>& getDaemonList() const {return daemons;}
};
}