1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00
GPXSee/src/map/gmifile.h
2023-09-14 18:36:03 +02:00

32 lines
573 B
C++

#ifndef GMIFILE_H
#define GMIFILE_H
#include "calibrationpoint.h"
class QIODevice;
class GmiFile
{
public:
GmiFile(QIODevice &file);
bool isValid() const {return _valid;}
const QString &errorString() const {return _errorString;}
const QString &image() const {return _image;}
const QSize &size() const {return _size;}
const QList<CalibrationPoint> &calibrationPoints() const {return _points;}
private:
bool parse(QIODevice &device);
QString _image;
QSize _size;
QList<CalibrationPoint> _points;
bool _valid;
QString _errorString;
};
#endif // GMIFILE_H