diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-07-25 12:37:34 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-07-25 12:37:34 (GMT) |
commit | 5f27d7a0fcea0154d7d68cfb0812e097bb0deff1 (patch) | |
tree | 5648b4ab8fb4ca6051647d47c3e8cf8d621e8782 /src/docvisitor.h | |
parent | 655c12fb6a950ed1b59bbcc29852ce20e45fdc6a (diff) | |
download | Doxygen-5f27d7a0fcea0154d7d68cfb0812e097bb0deff1.zip Doxygen-5f27d7a0fcea0154d7d68cfb0812e097bb0deff1.tar.gz Doxygen-5f27d7a0fcea0154d7d68cfb0812e097bb0deff1.tar.bz2 |
Release-1.3.3
Diffstat (limited to 'src/docvisitor.h')
-rw-r--r-- | src/docvisitor.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/docvisitor.h b/src/docvisitor.h index 949781e..3815cbb 100644 --- a/src/docvisitor.h +++ b/src/docvisitor.h @@ -19,6 +19,14 @@ #ifndef _DOCVISITOR_H #define _DOCVISITOR_H +// ids +const int DocVisitor_Html = 0; +const int DocVisitor_Latex = 1; +const int DocVisitor_XML = 2; +const int DocVisitor_RTF = 3; +const int DocVisitor_Man = 4; +const int DocVisitor_Other = 5; + // forward declarations class DocWord; class DocWhiteSpace; @@ -38,7 +46,6 @@ class DocVerbatim; class DocXRefItem; class DocHtmlList; class DocHtmlListItem; -//class DocHtmlPre; class DocHtmlDescList; class DocHtmlDescTitle; class DocHtmlDescData; @@ -74,8 +81,12 @@ class DocText; */ class DocVisitor { + int m_id; public: + DocVisitor(int id) : m_id(id) {} virtual ~DocVisitor() {} + int id() const { return m_id; } + /*! @name Visitor functions for leaf nodes * @{ */ @@ -120,8 +131,6 @@ class DocVisitor virtual void visitPost(DocHtmlListItem *) = 0; virtual void visitPre(DocHtmlListItem *) = 0; virtual void visitPost(DocHtmlList *) = 0; - //virtual void visitPre(DocHtmlPre *) = 0; - //virtual void visitPost(DocHtmlPre *) = 0; virtual void visitPre(DocHtmlDescList *) = 0; virtual void visitPost(DocHtmlDescList *) = 0; virtual void visitPre(DocHtmlDescTitle *) = 0; |