2015-11-23 23:19:57 +01:00
|
|
|
#ifndef MAPLIST_H
|
|
|
|
#define MAPLIST_H
|
|
|
|
|
|
|
|
#include <QList>
|
2016-02-12 10:09:17 +01:00
|
|
|
#include <QString>
|
2016-02-12 20:12:37 +01:00
|
|
|
#include <QObject>
|
2015-11-23 23:19:57 +01:00
|
|
|
|
2016-02-12 10:09:17 +01:00
|
|
|
class Map;
|
2017-02-07 23:36:06 +01:00
|
|
|
class Downloader;
|
2015-11-23 23:19:57 +01:00
|
|
|
|
|
|
|
class MapList
|
|
|
|
{
|
|
|
|
public:
|
2017-02-07 23:36:06 +01:00
|
|
|
MapList(Downloader *downloader) : _downloader(downloader) {}
|
|
|
|
QList<Map*> load(const QString &fileName, QObject *parent = 0);
|
|
|
|
|
|
|
|
private:
|
|
|
|
Downloader *_downloader;
|
2015-11-23 23:19:57 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MAPLIST_H
|