Fixed nonsense time unit
[GPXSee.git] / src / data / gpsdumpparser.h
blobf9ae1f80341268bde8dee1d437ef1192dff3b6d2
1 #ifndef GPSDUMPPARSER_H
2 #define GPSDUMPPARSER_H
4 #include "parser.h"
6 class GPSDumpParser : public Parser
8 public:
9 GPSDumpParser() : _errorLine(0) {}
11 bool parse(QFile *file, QList<TrackData> &tracks, QList<RouteData> &routes,
12 QList<Area> &polygons, QVector<Waypoint> &waypoints);
13 QString errorString() const {return _errorString;}
14 int errorLine() const {return _errorLine;}
16 private:
17 enum Type {
18 Unknown,
19 GEO,
20 UTM
23 int _errorLine;
24 QString _errorString;
27 #endif // GPSDUMPPARSER_H