summaryrefslogtreecommitdiffstats
path: root/src/docparser.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-12-20 14:04:50 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-12-20 14:04:50 (GMT)
commit67e8d626fec0c4365106902dcd16b988b8cceb10 (patch)
treedab43c4c97739308cd75399c7c88cf0f954af6b5 /src/docparser.h
parentc09f84c27bd916342ca0e8fdcb5244cd902f8e09 (diff)
parent329a4ddc036ac9dfe72b11d62cb4043bc8488c20 (diff)
downloadDoxygen-67e8d626fec0c4365106902dcd16b988b8cceb10.zip
Doxygen-67e8d626fec0c4365106902dcd16b988b8cceb10.tar.gz
Doxygen-67e8d626fec0c4365106902dcd16b988b8cceb10.tar.bz2
Merge branch 'feature/bug_size_latex' of https://github.com/albert-github/doxygen into albert-github-feature/bug_size_latex
Conflicts: src/doctokenizer.h src/latexgen.cpp
Diffstat (limited to 'src/docparser.h')
-rw-r--r--src/docparser.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/docparser.h b/src/docparser.h
index 3dc3d84..51698b8 100644
--- a/src/docparser.h
+++ b/src/docparser.h
@@ -447,6 +447,11 @@ class DocVerbatim : public DocNode
QCString relPath() const { return m_relPath; }
QCString language() const { return m_lang; }
bool isBlock() const { return m_isBlock; }
+ bool hasCaption() const { return !m_children.isEmpty(); }
+ QCString width() const { return m_width; }
+ QCString height() const { return m_height; }
+ const QList<DocNode> &children() const { return m_children; }
+ QList<DocNode> &children() { return m_children; }
private:
QCString m_context;
@@ -457,6 +462,10 @@ class DocVerbatim : public DocNode
QCString m_relPath;
QCString m_lang;
bool m_isBlock;
+ public:
+ QCString m_width;
+ QCString m_height;
+ QList<DocNode> m_children;
};
@@ -686,7 +695,7 @@ class DocImage : public CompAccept<DocImage>, public DocNode
private:
HtmlAttribList m_attribs;
QCString m_name;
- Type m_type;
+ Type m_type;
QCString m_width;
QCString m_height;
QCString m_relPath;