diff options
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; }; |