mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-08 04:25:12 +01:00
34 lines
644 B
C++
34 lines
644 B
C++
#ifndef IMG_GMAP_H
|
|
#define IMG_GMAP_H
|
|
|
|
#include "mapdata.h"
|
|
|
|
class QXmlStreamReader;
|
|
class QDir;
|
|
|
|
namespace IMG {
|
|
|
|
class GMAPData : public MapData
|
|
{
|
|
public:
|
|
GMAPData(const QString &fileName);
|
|
~GMAPData();
|
|
|
|
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);
|
|
|
|
QList<const QString*> _files;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // IMG_GMAP_H
|