diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-09-29 22:25:04 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-09-29 22:25:04 +0200 |
commit | 13fd1bb4f19e4791e000cb71cca2065820184bdb (patch) | |
tree | 147254923044d6842a803b20b48ed607e76fa28d /src/Client/InformationManager.h | |
parent | 07768a871691433e2f3c490aa14c45cde40e00b4 (diff) | |
download | mad-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.h | 10 |
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(); } |