1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-07 07:13:21 +02:00
GPXSee/src/gpx.h

25 lines
426 B
C
Raw Normal View History

2015-10-05 01:43:48 +02:00
#ifndef GPX_H
#define GPX_H
#include <QVector>
#include <QPointF>
#include <QString>
#include "parser.h"
class GPX
{
public:
bool loadFile(const QString &fileName);
const QString &errorString() const {return _error;}
QVector<QPointF> elevationGraph() const;
QVector<QPointF> speedGraph() const;
QVector<QPointF> track() const;
private:
Parser _parser;
QVector<TrackPoint> _data;
QString _error;
};
#endif // GPX_H