summaryrefslogtreecommitdiff
path: root/server/src/templateparser.h
diff options
context:
space:
mode:
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.