diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-06-18 22:03:02 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-06-18 22:03:02 +0200 |
commit | 7234fe326d16d6bf9f4374a09ddc6ef790e6723f (patch) | |
tree | 437d4c40eeb1e9b34b369e4b82064a1572c7dac9 /src/Client/UserCommands.h | |
parent | bf561f8226e97f4ace4f04bddf198175e91ee7f0 (diff) | |
download | mad-7234fe326d16d6bf9f4374a09ddc6ef790e6723f.tar mad-7234fe326d16d6bf9f4374a09ddc6ef790e6723f.zip |
Globale Variablen durch Application-Klasse ersetzt
Diffstat (limited to 'src/Client/UserCommands.h')
-rw-r--r-- | src/Client/UserCommands.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/Client/UserCommands.h b/src/Client/UserCommands.h index c4cd399..f3dd31c 100644 --- a/src/Client/UserCommands.h +++ b/src/Client/UserCommands.h @@ -20,25 +20,24 @@ #ifndef MAD_CLIENT_USERCOMMANDS_H_ #define MAD_CLIENT_USERCOMMANDS_H_ -#include <Common/Connection.h> - #include <string> #include <vector> - namespace Mad { namespace Client { +class CommandParser; + class UserCommands { private: UserCommands(); public: - static void userInfoCommand(const std::vector<std::string> &args, Common::Connection *connection); - static void listUsersCommand(const std::vector<std::string> &args, Common::Connection *connection); - static void listUserGroupsCommand(const std::vector<std::string> &args, Common::Connection *connection); - static void listGroupsCommand(const std::vector<std::string> &args, Common::Connection *connection); - static void listGroupUsersCommand(const std::vector<std::string> &args, Common::Connection *connection); + static void userInfoCommand(CommandParser *commandParser, const std::vector<std::string> &args); + static void listUsersCommand(CommandParser *commandParser, const std::vector<std::string> &args); + static void listUserGroupsCommand(CommandParser *commandParser, const std::vector<std::string> &args); + static void listGroupsCommand(CommandParser *commandParser, const std::vector<std::string> &args); + static void listGroupUsersCommand(CommandParser *commandParser, const std::vector<std::string> &args); }; } |