From 4edae3f518353bb21a02fcda2dfcff83c5a72fc3 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 26 Jan 2012 12:08:39 +0100 Subject: New onCommit scripting system. --- server/src/sessionparser.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'server/src/sessionparser.h') diff --git a/server/src/sessionparser.h b/server/src/sessionparser.h index df32b06..8734fbd 100644 --- a/server/src/sessionparser.h +++ b/server/src/sessionparser.h @@ -30,6 +30,8 @@ #include "saxparser.h" +#include "luaoncommit.h" + #include #include @@ -50,10 +52,11 @@ public: std::string userid; std::string database; std::string dbtype; - + class Entry { public: int index; + LUAOnCommit *oncommit; std::string macro; std::string resume; std::string user; @@ -63,7 +66,12 @@ public: private: bool inresume; + bool inscript; + bool invalue; + bool inenv; + std::string valuename; bool indatabase; + LUAScript::env_t envid; }; #endif/*__PRACRO_SESSIONPARSER_H__*/ -- cgit v1.2.3