From 23f39df8b8edeacfa5821050abbdc855acb2edd6 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 1 Jul 2011 11:54:26 +0000 Subject: removed macrotool. add lua wrapper for praxisd. new type attributes_t for sax parser and children. make macros/templates use real vars instead of var map. add data ttl on macro level. add 'important' attribute to macrotags in templates. --- server/src/template.h | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'server/src/template.h') diff --git a/server/src/template.h b/server/src/template.h index 479e6ee..a069cff 100644 --- a/server/src/template.h +++ b/server/src/template.h @@ -68,15 +68,36 @@ public: std::vector< Script > scripts; std::vector< Script > resume_scripts; Widget widgets; - attr_t attributes; Resume resume; + bool isHeader; + bool isStatic; + bool isCompact; + bool isImportant; + + std::string name; + std::string version; + std::string caption; + std::string requires; + std::string ttl; }; class Template { public: std::vector< Macro > macros; - attr_t attributes; + + std::string name; + std::string title; + std::string version; +}; + +class Course { +public: + std::vector< Template > templates; + + std::string name; + std::string title; + std::string version; }; #endif/*__PRACRO_TEMPLATE_H__*/ -- cgit v1.2.3