diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-01-22 17:56:24 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-01-22 17:56:24 (GMT) |
commit | 0df9adf5f52c9d36bb430da927684c4353b00396 (patch) | |
tree | d15a4da33ccd88d9f7ebd50a6090a12c90ccbae4 /addon/doxmlparser/src/dochandler.h | |
parent | a66e1ada3c7467e267ff39262178fa4577f0b6ab (diff) | |
download | Doxygen-0df9adf5f52c9d36bb430da927684c4353b00396.zip Doxygen-0df9adf5f52c9d36bb430da927684c4353b00396.tar.gz Doxygen-0df9adf5f52c9d36bb430da927684c4353b00396.tar.bz2 |
Doxygen-1.2.13-20020122
Diffstat (limited to 'addon/doxmlparser/src/dochandler.h')
-rw-r--r-- | addon/doxmlparser/src/dochandler.h | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/addon/doxmlparser/src/dochandler.h b/addon/doxmlparser/src/dochandler.h index e72ad41..3aaef72 100644 --- a/addon/doxmlparser/src/dochandler.h +++ b/addon/doxmlparser/src/dochandler.h @@ -3,7 +3,7 @@ * $Id$ * * - * Copyright (C) 1997-2001 by Dimitri van Heesch. + * Copyright (C) 1997-2002 by Dimitri van Heesch. * * Permission to use, copy, modify, and distribute this software and its * documentation under the terms of the GNU General Public License is hereby @@ -449,11 +449,16 @@ class RefHandler : public IDocRef, public BaseHandler<RefHandler> // IDocRef virtual Kind kind() const { return Ref; } virtual QString refId() const { return m_refId; } + virtual TargetKind targetKind() const { return m_targetKind; } + virtual QString external() const { return m_extId; } + virtual QString text() const { return m_linkText; } private: IBaseHandler *m_parent; - QString m_refId; - QString m_linkText; + QString m_refId; + QString m_extId; + QString m_linkText; + TargetKind m_targetKind; }; //----------------------------------------------------------------------------- @@ -582,7 +587,7 @@ class VariableListHandler : public IDocVariableList, public BaseHandler<Variable /*! \brief Node representing a highlighted text fragment. * */ -// children: - +// TODO: children: ref class HighlightHandler : public IDocHighlight, public BaseHandler<HighlightHandler> { public: @@ -590,14 +595,17 @@ class HighlightHandler : public IDocHighlight, public BaseHandler<HighlightHandl virtual ~HighlightHandler(); void startHighlight(const QXmlAttributes& attrib); void endHighlight(); + virtual void startRef(const QXmlAttributes&); // IDocHighlight virtual Kind kind() const { return Highlight; } private: + void addTextNode(); + IBaseHandler *m_parent; QString m_class; - QString m_text; + QList<IDoc> m_children; }; //----------------------------------------------------------------------------- @@ -915,4 +923,7 @@ class DocIterator : public BaseIterator<IDocIterator,IDoc,IDoc> BaseIterator<IDocIterator,IDoc,IDoc>(handler.m_children) {} }; +void dochandler_init(); +void dochandler_exit(); + #endif |