#ifndef TXTPARSER_H
#define TXTPARSER_H

#include "parser.h"

class TXTParser : public Parser
{
	bool parse(QFile *file, QList<TrackData> &tracks, QList<RouteData> &routes,
	  QList<Area> &polygons, QVector<Waypoint> &waypoints);
	QString errorString() const {return _errorString;}
	int errorLine() const {return _errorLine;}

private:
	QString _errorString;
	int _errorLine;
};

#endif // TXTPARSER_H
