summaryrefslogtreecommitdiffstats
path: root/src/Client/UserCommands.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-07-14 18:03:53 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-07-14 18:03:53 +0200
commit543a6d3e58c6c76a940c536247f78db7dafce57a (patch)
tree2eba394f2f5ba64561ea4a4bdcf5c397d80b3a8e /src/Client/UserCommands.h
parentdfd9a5fac3176cc223fb572f31d5892033936fd7 (diff)
downloadmad-543a6d3e58c6c76a940c536247f78db7dafce57a.tar
mad-543a6d3e58c6c76a940c536247f78db7dafce57a.zip
UI verbessert
Diffstat (limited to 'src/Client/UserCommands.h')
-rw-r--r--src/Client/UserCommands.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Client/UserCommands.h b/src/Client/UserCommands.h
index b62c8e4..d5793fa 100644
--- a/src/Client/UserCommands.h
+++ b/src/Client/UserCommands.h
@@ -32,14 +32,15 @@ class 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);
+
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 listUserGroupsCommand(CommandParser *commandParser, const std::vector<std::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 listGroupUsersCommand(CommandParser *commandParser, const std::vector<std::string> &args);
static void addUserCommand(CommandParser *commandParser, const std::vector<std::string> &args);
static void updateUserCommand(CommandParser *commandParser, const std::vector<std::string> &args);