summaryrefslogtreecommitdiffstats
path: root/src/Client/UserCommands.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-09-27 19:58:24 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-09-27 19:58:24 +0200
commitb40ba0cf91603b695f1f2380cbd39966a458f22f (patch)
tree1fec48ddc59eb1392fac38495b230e4b2cbf7528 /src/Client/UserCommands.h
parente1d8490f0654a3da0b900407d80d91d8d0da68c8 (diff)
downloadmad-b40ba0cf91603b695f1f2380cbd39966a458f22f.tar
mad-b40ba0cf91603b695f1f2380cbd39966a458f22f.zip
Use Unicode-aware String class instead of std::string
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);
};
}