diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2015-03-19 00:59:37 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2015-03-19 00:59:37 +0100 |
| commit | 3d01ec1643191822370ba01c11ec6cc247e06599 (patch) | |
| tree | 20177a2f860de93203533e4c051880d11f98697b /CmdFunctionRef.hpp | |
| parent | 8983d3b38421843db67a05edee180028959c1b51 (diff) | |
| download | manager-3d01ec1643191822370ba01c11ec6cc247e06599.tar.gz manager-3d01ec1643191822370ba01c11ec6cc247e06599.zip | |
Added Managemen-Interface on TCP port 9372 listening on localhost.
Diffstat (limited to 'CmdFunctionRef.hpp')
| -rw-r--r-- | CmdFunctionRef.hpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/CmdFunctionRef.hpp b/CmdFunctionRef.hpp index 586090a..9c77348 100644 --- a/CmdFunctionRef.hpp +++ b/CmdFunctionRef.hpp @@ -6,13 +6,14 @@ class CRSM; -#define CMD_FUNCTION(name) void name(const QString& cmd, const QString& args, const ClientInfo& client, UserType userTypeModerator) +#define CMD_FUNCTION(name) void name(const QString& cmd, const QString& args, const ClientInfo& client, UserType userType) #define CMD_FUNCTION_IMPL(name) void CRSM::name(const QString& cmd, const QString& args, const ClientInfo& client, UserType userType) enum UserType { User = 0, Admin = 1, - Moderator = 2 + Moderator = 2, + Max = Moderator }; typedef void (CRSM::*CmdFunction)(const QString&, const QString&, const ClientInfo&, UserType); |
