23#include "fileFormats/MBTILES.h"
24#include "geomaps/TileHandler.h"
26#include <QAbstractHttpServer>
27#include <QSharedPointer>
123 void addMbtilesFileSet(
const QString& baseName,
const QVector<QSharedPointer<FileFormats::MBTILES>>& MBTilesFiles);
147 bool handleRequest(
const QHttpServerRequest& request, QHttpServerResponder& responder)
override;
150 void missingHandler(
const QHttpServerRequest& request, QHttpServerResponder& responder)
override;
164 QMap<QString, QSharedPointer<GeoMaps::TileHandler>> m_tileHandlers;
171 bool suspended =
false;
TileServer(QObject *parent=nullptr)
Create a new tile server.
void serverUrlChanged()
Notification signal for the property with the same name.
void removeMbtilesFileSet(const QString &baseName)
Removes a set of tile files.
QString serverUrl
URL under which this server is presently reachable.
void removeMbtilesFileSets()
Removes a set of tile files.
void addMbtilesFileSet(const QString &baseName, const QVector< QSharedPointer< FileFormats::MBTILES > > &MBTilesFiles)
Add a new set of tile files.
QString serverUrl()
Getter function for the property with the same name.