summaryrefslogtreecommitdiff
path: root/server/src/template.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/template.h')
-rw-r--r--server/src/template.h25
1 files changed, 23 insertions, 2 deletions
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__*/