summaryrefslogtreecommitdiffstats
path: root/src/Client/InformationManager.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-09-29 22:25:04 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-09-29 22:25:04 +0200
commit13fd1bb4f19e4791e000cb71cca2065820184bdb (patch)
tree147254923044d6842a803b20b48ed607e76fa28d /src/Client/InformationManager.h
parent07768a871691433e2f3c490aa14c45cde40e00b4 (diff)
downloadmad-13fd1bb4f19e4791e000cb71cca2065820184bdb.tar
mad-13fd1bb4f19e4791e000cb71cca2065820184bdb.zip
Daemon-Liste wird jetzt vom Core aktualisiert
Diffstat (limited to 'src/Client/InformationManager.h')
-rw-r--r--src/Client/InformationManager.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Client/InformationManager.h b/src/Client/InformationManager.h
index 5670f8f..bf2d67a 100644
--- a/src/Client/InformationManager.h
+++ b/src/Client/InformationManager.h
@@ -41,6 +41,14 @@ namespace Client {
class InformationManager {
private:
+ class DaemonStateUpdateRequest : public Common::RequestHandler {
+ protected:
+ virtual void handlePacket(Net::Connection *connection, const Net::Packet &packet);
+
+ public:
+ DaemonStateUpdateRequest() {}
+ };
+
static std::auto_ptr<InformationManager> informationManager;
std::map<std::string, Common::HostInfo> daemons;
@@ -55,6 +63,8 @@ class InformationManager {
void daemonListRequestFinished(const Common::Request<Net::Packets::HostListPacket> &request);
public:
+ ~InformationManager();
+
static InformationManager* getInformationManager() {
return informationManager.get();
}