summaryrefslogtreecommitdiffstats
path: root/src/Client/UserListCommands.h
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-09-26 02:09:03 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-09-26 02:09:03 +0200
commitd88c486ae403bee8f4b16e4bdf9daf19f8915eed (patch)
tree34aea8e1a68c5f125a0af6f5ab6f0ec7fcb5d7ea /src/Client/UserListCommands.h
parent8c6ea75e487172e23822b39b6cf58fbc947971e4 (diff)
downloadmad-d88c486ae403bee8f4b16e4bdf9daf19f8915eed.tar
mad-d88c486ae403bee8f4b16e4bdf9daf19f8915eed.zip
Client: Added unfinished XLS import command
Diffstat (limited to 'src/Client/UserListCommands.h')
-rw-r--r--src/Client/UserListCommands.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Client/UserListCommands.h b/src/Client/UserListCommands.h
index 51a714b..8c77e7f 100644
--- a/src/Client/UserListCommands.h
+++ b/src/Client/UserListCommands.h
@@ -25,8 +25,17 @@
#include "CommandParser.h"
namespace Mad {
+
+namespace Common {
+namespace UserLists {
+class UserList;
+}
+}
+
namespace Client {
+class XLSSheet;
+
class MAD_CLIENT_EXPORT UserListCommands {
private:
typedef CommandParser::Command Command;
@@ -41,7 +50,10 @@ class MAD_CLIENT_EXPORT UserListCommands {
static void helpCommand(CommandParser *commandParser, const std::vector<std::string> &args);
static void listCommand(CommandParser *commandParser, const std::vector<std::string> &args);
static void showListCommand(CommandParser *commandParser, const std::vector<std::string> &args);
+ static void importCommand(CommandParser *commandParser, const std::vector<std::string> &args);
+ static void printUserList(const Common::UserLists::UserList &list);
+ static void printSheet(const XLSSheet &sheet, unsigned rowCount = 0);
static void printPadded(const std::string &str, unsigned length);
static void printDelimiter(unsigned length);