diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-09-23 14:20:58 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-09-23 14:20:58 +0200 |
commit | 26c1290391eb5540d6e2c5f6eceb877e0075d087 (patch) | |
tree | 6a9864d545aa83c4574931eedaf7f37691b6aa32 /src/Client/CommandParser.h | |
parent | 0eddc28a331437ef95a60418ed1fc6de4e9b63c1 (diff) | |
download | mad-26c1290391eb5540d6e2c5f6eceb877e0075d087.tar mad-26c1290391eb5540d6e2c5f6eceb877e0075d087.zip |
Client: UserListManager client
Diffstat (limited to 'src/Client/CommandParser.h')
-rw-r--r-- | src/Client/CommandParser.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Client/CommandParser.h b/src/Client/CommandParser.h index 8077a30..c4a0f79 100644 --- a/src/Client/CommandParser.h +++ b/src/Client/CommandParser.h @@ -43,11 +43,13 @@ namespace Client { class Application; class SystemCommands; class UserCommands; +class UserListCommands; class MAD_CLIENT_EXPORT CommandParser { private: friend class SystemCommands; friend class UserCommands; + friend class UserListCommands; struct Command { const char* commands[3]; @@ -68,7 +70,7 @@ class MAD_CLIENT_EXPORT CommandParser { static const Command* findCommand(const std::string& command); - void printUsage(const std::string& command); + static void printUsage(const std::string& command); std::map<std::string, Common::HostInfo> parseHostList(const std::vector<std::string> &args, bool mustBeActive = false); void helpCommand(const std::vector<std::string> &args); |