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

32 lines
540 B
C
Raw Normal View History

#ifndef OMD_H
#define OMD_H
#include <QList>
#include "common/range.h"
#include "common/rectc.h"
class Map;
class QXmlStreamReader;
class OMD
{
public:
~OMD();
bool loadFile(const QString &path);
const QString &errorString() const {return _errorString;}
const QList<Map*> &maps() const {return _maps;}
private:
RectC bounds(QXmlStreamReader &reader);
Range zooms(QXmlStreamReader &reader);
void map(QXmlStreamReader &reader);
void omd(QXmlStreamReader &reader);
QString _errorString;
QList<Map*> _maps;
};
#endif // OMD_H