1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-03-13 02:27:46 +01:00
GPXSee/src/data/csvparser.h

22 lines
443 B
C
Raw Normal View History

2016-10-23 11:09:20 +02:00
#ifndef CSVPARSER_H
#define CSVPARSER_H
#include "parser.h"
class CSVParser : public Parser
{
public:
2017-07-27 19:47:46 +02:00
CSVParser() : _errorLine(0) {}
2016-10-23 11:09:20 +02:00
bool parse(QFile *file, QList<TrackData> &tracks, QList<RouteData> &routes,
2019-01-31 01:46:53 +01:00
QList<Area> &polygons, QVector<Waypoint> &waypoints);
2016-10-23 11:09:20 +02:00
QString errorString() const {return _errorString;}
int errorLine() const {return _errorLine;}
private:
QString _errorString;
int _errorLine;
};
#endif // CSVPARSER_H