From 082dac7a8cb39ec1b005680680c4f3e1e8ddc256 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 14 Sep 2008 23:16:58 +0200 Subject: Verwende statische Instanzen von ConfigManager, ConnectionManager und RequestManager (Singleton) --- src/Client/CommandParser.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/Client/CommandParser.h') diff --git a/src/Client/CommandParser.h b/src/Client/CommandParser.h index 78ed6fa..69ed217 100644 --- a/src/Client/CommandParser.h +++ b/src/Client/CommandParser.h @@ -26,10 +26,6 @@ namespace Mad { -namespace Common { -class RequestManager; -} - namespace Net { class Connection; @@ -56,7 +52,6 @@ class CommandParser { sigc::signal finished; - Common::RequestManager *requestManager; Net::Connection *connection; unsigned int activeRequests; @@ -80,7 +75,7 @@ class CommandParser { } public: - CommandParser(Common::RequestManager *requestManager0, Net::Connection *connection0) : requestManager(requestManager0), connection(connection0), activeRequests(0), disconnect(false) {} + CommandParser(Net::Connection *connection0) : connection(connection0), activeRequests(0), disconnect(false) {} bool requestsActive() {return (activeRequests > 0);} bool willDisconnect() {return disconnect;} -- cgit v1.2.3