diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-09-23 17:28:38 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-09-23 17:28:38 (GMT) |
commit | 86502f97ecaea3254217d723b5f10b6405495184 (patch) | |
tree | 66859557d84fe96d692e8d6ee0a72d639a25b283 /addon/xmlparse/mainhandler.h | |
parent | 4ce0e4344711a79781e2f6d64f2553ab4b45c4a5 (diff) | |
download | Doxygen-86502f97ecaea3254217d723b5f10b6405495184.zip Doxygen-86502f97ecaea3254217d723b5f10b6405495184.tar.gz Doxygen-86502f97ecaea3254217d723b5f10b6405495184.tar.bz2 |
Release-1.2.10-20010923
Diffstat (limited to 'addon/xmlparse/mainhandler.h')
-rw-r--r-- | addon/xmlparse/mainhandler.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/addon/xmlparse/mainhandler.h b/addon/xmlparse/mainhandler.h index 75a3b98..0d69f25 100644 --- a/addon/xmlparse/mainhandler.h +++ b/addon/xmlparse/mainhandler.h @@ -19,15 +19,28 @@ #include <qlist.h> #include "basehandler.h" #include "compoundhandler.h" +#include "doxmlintf.h" -class MainHandler : public BaseHandler<MainHandler> +class MainHandler : public IDoxygen, public BaseHandler<MainHandler> { public: virtual void startCompound(const QXmlAttributes& attrib); MainHandler(); virtual ~MainHandler(); + + // IDoxygen + QListIterator<ICompound> getCompoundIterator() const + { + return m_compounds; + } + ICompound *getCompoundById(const QString &id) const + { + return m_compoundDict[id]; + } + private: - QList<CompoundHandler> m_compounds; + QList<ICompound> m_compounds; + QDict<ICompound> m_compoundDict; }; #endif |