diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-01-05 19:00:26 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2004-01-05 19:00:26 (GMT) |
commit | 29348f280d674693e74e30ae55ca63ab3b97372e (patch) | |
tree | 278be3215f40b4fffddab1ec6dc2b8d47da895ac /addon/doxmlparser/src/basehandler.h | |
parent | 104be290eb99ab3277906a57fb4673dfa1850bc6 (diff) | |
download | Doxygen-29348f280d674693e74e30ae55ca63ab3b97372e.zip Doxygen-29348f280d674693e74e30ae55ca63ab3b97372e.tar.gz Doxygen-29348f280d674693e74e30ae55ca63ab3b97372e.tar.bz2 |
Release-1.3.5-20040105
Diffstat (limited to 'addon/doxmlparser/src/basehandler.h')
-rw-r--r-- | addon/doxmlparser/src/basehandler.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/addon/doxmlparser/src/basehandler.h b/addon/doxmlparser/src/basehandler.h index 1674cbd..f442b48 100644 --- a/addon/doxmlparser/src/basehandler.h +++ b/addon/doxmlparser/src/basehandler.h @@ -3,7 +3,7 @@ * $Id$ * * - * Copyright (C) 1997-2003 by Dimitri van Heesch. + * Copyright (C) 1997-2004 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 @@ -129,6 +129,9 @@ template<class T> class BaseHandler : public QXmlDefaultHandler, public IBaseHandler { public: + typedef typename ElementMapper<T>::StartElementHandlerT StartElementHandlerT; + typedef typename ElementMapper<T>::EndElementHandlerT EndElementHandlerT; + BaseHandler() : m_delegateHandler(0), m_fallBackHandler(0) { } @@ -285,12 +288,16 @@ template<class T> class BaseFallBackHandler : public ElementMapper<T>, public IFallBackHandler { public: + typedef typename ElementMapper<T>::StartElementHandlerT StartElementHandlerT; + typedef typename ElementMapper<T>::EndElementHandlerT EndElementHandlerT; + BaseFallBackHandler() { } virtual ~BaseFallBackHandler() { } + bool handleStartElement(const QString & name, const QXmlAttributes & attrib) { |