1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-02-08 12:25:13 +01:00
GPXSee/src/map/IMG/gmapdata.h

34 lines
644 B
C
Raw Normal View History

2021-04-10 15:27:40 +02:00
#ifndef IMG_GMAP_H
#define IMG_GMAP_H
2020-02-09 23:24:48 +01:00
#include "mapdata.h"
class QXmlStreamReader;
class QDir;
2021-04-10 15:27:40 +02:00
namespace IMG {
class GMAPData : public MapData
2020-02-09 23:24:48 +01:00
{
public:
2021-04-10 15:27:40 +02:00
GMAPData(const QString &fileName);
~GMAPData();
2020-02-09 23:24:48 +01:00
static bool isGMAP(const QString &path);
private:
bool readXML(const QString &path, QString &dataDir, QString &typFile,
QString &baseMap);
void mapProduct(QXmlStreamReader &reader, QString &dataDir,
QString &typFile, QString &baseMap);
void subProduct(QXmlStreamReader &reader, QString &dataDir,
QString &baseMap);
bool loadTile(const QDir &dir, bool baseMap);
2020-02-10 09:33:31 +01:00
QList<const QString*> _files;
2020-02-09 23:24:48 +01:00
};
2021-04-10 15:27:40 +02:00
}
#endif // IMG_GMAP_H