diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-03-21 13:31:03 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-03-21 13:31:03 +0100 |
commit | c07b837dbad1ac176a6c18062dab9184e7080309 (patch) | |
tree | 277d5f7c06e2e71b25a9b9619917f04158b789e8 /src/Client/CommandParser.h | |
parent | 8f098fc3070f791302ec1f497588fab6ed409980 (diff) | |
download | mad-c07b837dbad1ac176a6c18062dab9184e7080309.tar mad-c07b837dbad1ac176a6c18062dab9184e7080309.zip |
Net::Connection-Klasse zur besseren Strukturierung gekapselt
Diffstat (limited to 'src/Client/CommandParser.h')
-rw-r--r-- | src/Client/CommandParser.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Client/CommandParser.h b/src/Client/CommandParser.h index 2827443..23330ca 100644 --- a/src/Client/CommandParser.h +++ b/src/Client/CommandParser.h @@ -29,7 +29,7 @@ namespace Mad { -namespace Net { +namespace Common { class Connection; } @@ -50,7 +50,7 @@ class CommandParser { static CommandParser commandParser; - Net::Connection *connection; + Common::Connection *connection; const Command* findCommand(const std::string& command); void printUsage(const std::string& command); @@ -73,11 +73,11 @@ class CommandParser { return &commandParser; } - Net::Connection *getConnection() const { + Common::Connection *getConnection() const { return connection; } - void setConnection(Net::Connection *con) { + void setConnection(Common::Connection *con) { connection = con; } |