From 3d01ec1643191822370ba01c11ec6cc247e06599 Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Thu, 19 Mar 2015 00:59:37 +0100 Subject: Added Managemen-Interface on TCP port 9372 listening on localhost. --- CmdFunctionRef.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'CmdFunctionRef.hpp') 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); -- cgit v1.2.3-54-g00ecf