summaryrefslogtreecommitdiff
path: root/client/docgen/doc.h
diff options
context:
space:
mode:
authordeva <deva>2011-06-14 12:59:50 +0000
committerdeva <deva>2011-06-14 12:59:50 +0000
commit72b7577583c0bdcc3b2b78687092b448e73a2e98 (patch)
tree1cad6420138d5ebe11f5e6deff781887177d92b9 /client/docgen/doc.h
parenta949a28ef255983bf1b3b52eb90f1859240a897b (diff)
Create screenshots from xml code in the annotations.
Diffstat (limited to 'client/docgen/doc.h')
-rw-r--r--client/docgen/doc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/client/docgen/doc.h b/client/docgen/doc.h
index 5a1d5dd..ae693f5 100644
--- a/client/docgen/doc.h
+++ b/client/docgen/doc.h
@@ -58,18 +58,24 @@ public:
QString description;
};
+class Screenshot {
+public:
+ QString caption;
+ QString xml;
+};
+
class Doc {
public:
QString title;
QString name;
QString tag;
QString extends;
- bool screenshot;
bool container;
QString description;
QVector<Example> examples;
QVector<Attribute> attributes;
QVector<Method> methods;
+ QVector<Screenshot> screenshots;
};
#endif/*__PRACRO_DOC_H__*/