diff options
author | deva <deva> | 2011-03-29 10:04:47 +0000 |
---|---|---|
committer | deva <deva> | 2011-03-29 10:04:47 +0000 |
commit | d7044d310387d3752774831c1a8a768c0ca1ed67 (patch) | |
tree | 47d0e23b2f5b09d67c9774392c3cc98133055d6b /client/docgen/doc.h | |
parent | 14934de96713aa8864f103e7376022859c2ee508 (diff) |
Examples in docs.
Diffstat (limited to 'client/docgen/doc.h')
-rw-r--r-- | client/docgen/doc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/client/docgen/doc.h b/client/docgen/doc.h index fc400fc..5a1d5dd 100644 --- a/client/docgen/doc.h +++ b/client/docgen/doc.h @@ -31,6 +31,12 @@ #include <QVector> #include <QString> +class Example { +public: + QString name; + QString code; +}; + class Parameter { public: QString name; @@ -43,6 +49,7 @@ public: QString description; QString returns; QVector<Parameter> parameters; + QVector<Example> examples; }; class Attribute { @@ -60,6 +67,7 @@ public: bool screenshot; bool container; QString description; + QVector<Example> examples; QVector<Attribute> attributes; QVector<Method> methods; }; |