From 3086f10f53ced17ab4a237ab57da62395d259f0a Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 29 Sep 2008 18:16:20 +0200 Subject: InformationManager zur Verwaltung der Host-Liste hinzugef?gt --- src/Core/ConnectionManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Core/ConnectionManager.h') diff --git a/src/Core/ConnectionManager.h b/src/Core/ConnectionManager.h index 0832b5a..9b8615c 100644 --- a/src/Core/ConnectionManager.h +++ b/src/Core/ConnectionManager.h @@ -75,7 +75,7 @@ class ConnectionManager { connectionManager = std::auto_ptr(new ConnectionManager()); } - virtual ~ConnectionManager(); + ~ConnectionManager(); bool wait(int timeout) { return (poll(pollfds.data(), pollfds.size(), timeout) > 0); -- cgit v1.2.3 From 13fd1bb4f19e4791e000cb71cca2065820184bdb Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 29 Sep 2008 22:25:04 +0200 Subject: Daemon-Liste wird jetzt vom Core aktualisiert --- src/Core/ConnectionManager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Core/ConnectionManager.h') diff --git a/src/Core/ConnectionManager.h b/src/Core/ConnectionManager.h index 9b8615c..cd470d9 100644 --- a/src/Core/ConnectionManager.h +++ b/src/Core/ConnectionManager.h @@ -66,6 +66,8 @@ class ConnectionManager { void handleConnections(std::list &connections); + void updateState(const std::string &name, Common::HostInfo::State state); + public: static ConnectionManager* getConnectionManager() { return connectionManager.get(); -- cgit v1.2.3