summaryrefslogtreecommitdiffstats
path: root/addon/doxmlparser/src/sectionhandler.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2005-08-06 11:48:27 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2005-08-06 11:48:27 (GMT)
commitbedb86023002aa3985c914d330f54314d211bdc0 (patch)
tree340cca67808f566b0c458391835834e717e26a61 /addon/doxmlparser/src/sectionhandler.h
parent64c0fdd7432f5d9ddd815fbb459c651f6933a2ea (diff)
downloadDoxygen-bedb86023002aa3985c914d330f54314d211bdc0.zip
Doxygen-bedb86023002aa3985c914d330f54314d211bdc0.tar.gz
Doxygen-bedb86023002aa3985c914d330f54314d211bdc0.tar.bz2
Release-1.4.4-20050806
Diffstat (limited to 'addon/doxmlparser/src/sectionhandler.h')
-rw-r--r--addon/doxmlparser/src/sectionhandler.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/addon/doxmlparser/src/sectionhandler.h b/addon/doxmlparser/src/sectionhandler.h
index 3be4ee8..46a072f 100644
--- a/addon/doxmlparser/src/sectionhandler.h
+++ b/addon/doxmlparser/src/sectionhandler.h
@@ -23,8 +23,6 @@
#include "basehandler.h"
-class MainHandler;
-
class SectionIterator :
public BaseIterator<ISectionIterator,ISection,SectionHandler>
{
@@ -40,6 +38,7 @@ class SectionHandler : public IUserDefined, public BaseHandler<SectionHandler>
virtual void startMember(const QXmlAttributes& attrib);
virtual void startHeader(const QXmlAttributes& attrib);
virtual void startSection(const QXmlAttributes& attrib);
+ virtual void startDescription(const QXmlAttributes& attrib);
virtual void endSection();
virtual void endHeader();
@@ -51,6 +50,7 @@ class SectionHandler : public IUserDefined, public BaseHandler<SectionHandler>
{ return &m_kindString; }
virtual SectionKind kind() const
{ return m_kind; }
+ IDocRoot *description() const;
virtual IMemberIterator *members() const;
virtual bool isStatic() const
{
@@ -83,10 +83,17 @@ class SectionHandler : public IUserDefined, public BaseHandler<SectionHandler>
private:
IBaseHandler *m_parent;
- SectionKind m_kind;
- StringImpl m_kindString;
- StringImpl m_header;
- QList<MemberHandler> m_members;
+
+ // XML elements:
+ // -------------
+ StringImpl m_header; // header
+ DocHandler* m_description; // description
+ QList<MemberHandler> m_members; // memberdef
+
+ // XML attributes:
+ // ---------------
+ SectionKind m_kind; // kind
+ StringImpl m_kindString; // kind as a string
};
void sectionhandler_init();