#ifndef LOCPARSER_H #define LOCPARSER_H #include #include "parser.h" class LOCParser : public Parser { public: bool parse(QFile *file, QList &tracks, QList &routes, QList &waypoints); QString errorString() const {return _reader.errorString();} int errorLine() const {return _reader.lineNumber();} private: void loc(QList &waypoints); void waypoint(Waypoint &waypoint); Coordinates coordinates(); QXmlStreamReader _reader; }; #endif // LOCPARSER_H