#ifndef SMLPARSER_H #define SMLPARSER_H #include #include "parser.h" class SMLParser : public Parser { public: bool parse(QFile *file, QList &tracks, QList &routes, QList &polygons, QVector &waypoints); QString errorString() const {return _reader.errorString();} int errorLine() const {return _reader.lineNumber();} private: void sml(QList &tracks); void deviceLog(TrackData &track); void samples(SegmentData &segment); void sample(SegmentData &segment); QXmlStreamReader _reader; }; #endif // SMLPARSER_H