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.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/Client/UserCommands.h b/src/Client/UserCommands.h
index 640b5b4..34eb84b 100644
--- a/src/Client/UserCommands.h
+++ b/src/Client/UserCommands.h
@@ -22,7 +22,7 @@
#include "export.h"
-#include <string>
+#include <Core/String.h>
#include <vector>
namespace Mad {
@@ -34,28 +34,28 @@ class MAD_CLIENT_EXPORT UserCommands {
private:
UserCommands();
- static std::string getUserName(CommandParser *commandParser, unsigned long uid, bool withId);
- static std::string getGroupName(CommandParser *commandParser, unsigned long gid, bool withId);
+ static Core::String getUserName(CommandParser *commandParser, unsigned long uid, bool withId);
+ static Core::String getGroupName(CommandParser *commandParser, unsigned long gid, bool withId);
public:
- static void listUsersCommand(CommandParser *commandParser, const std::vector<std::string> &args);
- static void userInfoCommand(CommandParser *commandParser, const std::vector<std::string> &args);
+ static void listUsersCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
+ static void userInfoCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
- static void listGroupsCommand(CommandParser *commandParser, const std::vector<std::string> &args);
- static void groupInfoCommand(CommandParser *commandParser, const std::vector<std::string> &args);
+ static void listGroupsCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
+ static void groupInfoCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
- static void addUserCommand(CommandParser *commandParser, const std::vector<std::string> &args);
- static void updateUserCommand(CommandParser *commandParser, const std::vector<std::string> &args);
- static void deleteUserCommand(CommandParser *commandParser, const std::vector<std::string> &args);
+ static void addUserCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
+ static void updateUserCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
+ static void deleteUserCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
- static void addGroupCommand(CommandParser *commandParser, const std::vector<std::string> &args);
- static void updateGroupCommand(CommandParser *commandParser, const std::vector<std::string> &args);
- static void deleteGroupCommand(CommandParser *commandParser, const std::vector<std::string> &args);
+ static void addGroupCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
+ static void updateGroupCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
+ static void deleteGroupCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
- static void addUserToGroupCommand(CommandParser *commandParser, const std::vector<std::string> &args);
- static void deleteUserFromGroupCommand(CommandParser *commandParser, const std::vector<std::string> &args);
+ static void addUserToGroupCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
+ static void deleteUserFromGroupCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
- static void setPasswordCommand(CommandParser *commandParser, const std::vector<std::string> &args);
+ static void setPasswordCommand(CommandParser *commandParser, const std::vector<Core::String> &args);
};
}