summaryrefslogtreecommitdiff
path: root/server/src/templateparser.h
diff options
context:
space:
mode:
authordeva <deva>2008-06-03 08:13:20 +0000
committerdeva <deva>2008-06-03 08:13:20 +0000
commitbb3fad646f94739a876869464a484c99795bce61 (patch)
tree1894d6b43055b654150bf9e56cc1baefce34dcad /server/src/templateparser.h
parent13b9aa0c0ab5a7b66c08f7a7e02c193530640ed3 (diff)
Added support for lua validator programs.
Diffstat (limited to 'server/src/templateparser.h')
-rw-r--r--server/src/templateparser.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/templateparser.h b/server/src/templateparser.h
index 70197eb..61ad42a 100644
--- a/server/src/templateparser.h
+++ b/server/src/templateparser.h
@@ -39,7 +39,9 @@ typedef enum {
QUERY,
MAPS,
MAP,
- WINDOW
+ WINDOW,
+ LUAPROGRAMS,
+ LUAPROGRAM
} ParserState;
class TemplateParser : public SAXParser {
@@ -67,6 +69,7 @@ private:
Template *t;
Macro *current_macro;
Map *current_map;
+ LUAProgram *current_luaprogram;
std::vector< Widget* > widgetstack;
// Error callback function.