summaryrefslogtreecommitdiffstats
path: root/src/Client/CommandParser.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2008-09-14 23:16:58 +0200
committerMatthias Schiffer <matthias@gamezock.de>2008-09-14 23:16:58 +0200
commit082dac7a8cb39ec1b005680680c4f3e1e8ddc256 (patch)
tree1db7b02d84cdd1882e15d3a1abfd8e93925a4af6 /src/Client/CommandParser.h
parentfd9b1506a3b3858235e91cce45805f6d54caae4f (diff)
downloadmad-082dac7a8cb39ec1b005680680c4f3e1e8ddc256.tar
mad-082dac7a8cb39ec1b005680680c4f3e1e8ddc256.zip
Verwende statische Instanzen von ConfigManager, ConnectionManager und RequestManager (Singleton)
Diffstat (limited to 'src/Client/CommandParser.h')
-rw-r--r--src/Client/CommandParser.h7
1 files changed, 1 insertions, 6 deletions
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<void> 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;}