diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-03-10 16:02:35 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-03-10 16:02:35 (GMT) |
commit | 5e4af367aa86722cd1545657727247d9008e9a16 (patch) | |
tree | 6db5f7392588f3b8c9d05ab7d2651803bc00c4c1 /addon/doxmlparser/src/basehandler.h | |
parent | 837e4e86e7d2735cd7106efec6e4512db82d5e7a (diff) | |
download | Doxygen-5e4af367aa86722cd1545657727247d9008e9a16.zip Doxygen-5e4af367aa86722cd1545657727247d9008e9a16.tar.gz Doxygen-5e4af367aa86722cd1545657727247d9008e9a16.tar.bz2 |
Release-1.2.14-20020310
Diffstat (limited to 'addon/doxmlparser/src/basehandler.h')
-rw-r--r-- | addon/doxmlparser/src/basehandler.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/addon/doxmlparser/src/basehandler.h b/addon/doxmlparser/src/basehandler.h index 89f9504..c86316b 100644 --- a/addon/doxmlparser/src/basehandler.h +++ b/addon/doxmlparser/src/basehandler.h @@ -22,6 +22,8 @@ #include "debug.h" +//----------------------------------------------------------------------------- + class IBaseHandler { public: @@ -30,6 +32,8 @@ class IBaseHandler virtual ~IBaseHandler() {} }; +//----------------------------------------------------------------------------- + class IFallBackHandler { public: @@ -39,6 +43,8 @@ class IFallBackHandler virtual ~IFallBackHandler() {} }; +//----------------------------------------------------------------------------- + template<class T> class ElementMapper { class StartElementHandler @@ -108,11 +114,15 @@ template<class T> class ElementMapper QDict<EndElementHandlerT> m_endHandlers; }; +//----------------------------------------------------------------------------- + struct LocatorContainer { static QXmlLocator *s_theLocator; }; +//----------------------------------------------------------------------------- + template<class T> class BaseHandler : public QXmlDefaultHandler, public ElementMapper<T>, public LocatorContainer, @@ -269,6 +279,8 @@ template<class T> class BaseHandler : public QXmlDefaultHandler, IFallBackHandler *m_fallBackHandler; }; +//----------------------------------------------------------------------------- + template<class T> class BaseFallBackHandler : public ElementMapper<T>, public IFallBackHandler { |