summaryrefslogtreecommitdiffstats
path: root/src/Client/UserCommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Client/UserCommands.h')
-rw-r--r--src/Client/UserCommands.h15
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);
};
}