summaryrefslogtreecommitdiffstats
path: root/addon/doxmlparser/src/sectionhandler.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-02-15 20:00:58 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2003-02-15 20:00:58 (GMT)
commit067ee3cfc7a79acd42cedb3f89713b9ed5f47f93 (patch)
treed5ea8d453754a1b971fadd965b8949a3a3d0de9a /addon/doxmlparser/src/sectionhandler.h
parente0e5c8556b4713e7dad60537658cd411f8dfd858 (diff)
downloadDoxygen-067ee3cfc7a79acd42cedb3f89713b9ed5f47f93.zip
Doxygen-067ee3cfc7a79acd42cedb3f89713b9ed5f47f93.tar.gz
Doxygen-067ee3cfc7a79acd42cedb3f89713b9ed5f47f93.tar.bz2
Release-1.3-rc3-20020215
Diffstat (limited to 'addon/doxmlparser/src/sectionhandler.h')
-rw-r--r--addon/doxmlparser/src/sectionhandler.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/addon/doxmlparser/src/sectionhandler.h b/addon/doxmlparser/src/sectionhandler.h
index 42d3340..b6b674f 100644
--- a/addon/doxmlparser/src/sectionhandler.h
+++ b/addon/doxmlparser/src/sectionhandler.h
@@ -34,12 +34,14 @@ class SectionIterator :
};
-class SectionHandler : public ISection, public BaseHandler<SectionHandler>
+class SectionHandler : public IUserDefined, public BaseHandler<SectionHandler>
{
public:
virtual void startMember(const QXmlAttributes& attrib);
+ virtual void startHeader(const QXmlAttributes& attrib);
virtual void startSection(const QXmlAttributes& attrib);
virtual void endSection();
+ virtual void endHeader();
SectionHandler(IBaseHandler *parent);
virtual ~SectionHandler();
@@ -73,10 +75,17 @@ class SectionHandler : public ISection, public BaseHandler<SectionHandler>
void initialize(CompoundHandler *c);
+ // IUserDefined implementation
+ virtual const IString *header() const
+ {
+ return &m_header;
+ }
+
private:
IBaseHandler *m_parent;
SectionKind m_kind;
StringImpl m_kindString;
+ StringImpl m_header;
QList<MemberHandler> m_members;
};