summaryrefslogtreecommitdiffstats
path: root/src/docparser.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-08-03 16:49:33 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2004-08-03 16:49:33 (GMT)
commit6e8975abdb6b52477a5788bca969e13e467814dd (patch)
tree947221d2f202d586f7f386c57472cc941980963f /src/docparser.h
parente305d80490e1fb2dc15eb9cf9ee13428936c8e16 (diff)
downloadDoxygen-6e8975abdb6b52477a5788bca969e13e467814dd.zip
Doxygen-6e8975abdb6b52477a5788bca969e13e467814dd.tar.gz
Doxygen-6e8975abdb6b52477a5788bca969e13e467814dd.tar.bz2
Release-1.3.8-20040803
Diffstat (limited to 'src/docparser.h')
-rw-r--r--src/docparser.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/docparser.h b/src/docparser.h
index 84fe830..b5467c2 100644
--- a/src/docparser.h
+++ b/src/docparser.h
@@ -568,8 +568,7 @@ class DocImage : public CompAccept<DocImage>, public DocNode
{
public:
enum Type { Html, Latex, Rtf };
- DocImage(DocNode *parent,const HtmlAttribList &attribs,const QString &name,Type t) :
- m_parent(parent), m_attribs(attribs), m_name(name), m_type(t) {}
+ DocImage(DocNode *parent,const HtmlAttribList &attribs,const QString &name,Type t);
Kind kind() const { return Kind_Image; }
Type type() const { return m_type; }
QString name() const { return m_name; }
@@ -577,6 +576,7 @@ class DocImage : public CompAccept<DocImage>, public DocNode
bool hasCaption() const { return !m_children.isEmpty(); }
QString width() const { return m_width; }
QString height() const { return m_height; }
+ QString relPath() const { return m_relPath; }
const HtmlAttribList &attribs() const { return m_attribs; }
void accept(DocVisitor *v) { CompAccept<DocImage>::accept(this,v); }
void parse();
@@ -588,18 +588,19 @@ class DocImage : public CompAccept<DocImage>, public DocNode
Type m_type;
QString m_width;
QString m_height;
+ QString m_relPath;
};
/*! @brief Node representing a dot file */
class DocDotFile : public CompAccept<DocDotFile>, public DocNode
{
public:
- DocDotFile(DocNode *parent,const QString &name) :
- m_parent(parent), m_name(name) { }
+ DocDotFile(DocNode *parent,const QString &name);
void parse();
Kind kind() const { return Kind_DotFile; }
QString name() const { return m_name; }
QString file() const { return m_file; }
+ QString relPath() const { return m_relPath; }
bool hasCaption() const { return !m_children.isEmpty(); }
QString width() const { return m_width; }
QString height() const { return m_height; }
@@ -609,6 +610,7 @@ class DocDotFile : public CompAccept<DocDotFile>, public DocNode
DocNode *m_parent;
QString m_name;
QString m_file;
+ QString m_relPath;
QString m_width;
QString m_height;
};