6 #include <QXmlAttributes>
9 #include "mapcenterobj.h"
10 #include "mapeditor.h"
14 /*! \brief Base class for parsing maps from XML documents */
16 class parseBaseHandler : public QXmlDefaultHandler
21 QString errorProtocol();
22 QString parseHREF(QString);
23 virtual bool startElement ( const QString&, const QString&,
24 const QString& eName, const QXmlAttributes& atts )=0;
25 virtual bool endElement ( const QString&, const QString&, const QString& )=0;
26 virtual bool characters ( const QString&)=0;
28 virtual QString errorString()=0;
29 bool fatalError( const QXmlParseException&);
30 void setModel (VymModel *);
31 void setTmpDir (QString);
32 void setInputFile (QString);
33 void setLoadMode (const LoadMode &);
42 // QList <State> stateStack;