You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#pragma once
|
|
|
|
|
#include <QGeoServiceProviderFactory>
|
|
|
|
|
#include <QObject>
|
|
|
|
|
#include <QtPlugin>
|
|
|
|
|
QT_BEGIN_NAMESPACE
|
|
|
|
|
class TiQGeoServiceProviderFactory : public QObject, public QGeoServiceProviderFactory
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
Q_INTERFACES(QGeoServiceProviderFactory)
|
|
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.qt.geoservice.serviceproviderfactory/6.0" FILE
|
|
|
|
|
"timap_plugin.json")
|
|
|
|
|
public:
|
|
|
|
|
TiQGeoServiceProviderFactory();
|
|
|
|
|
|
|
|
|
|
// QGeoServiceProviderFactory interface
|
|
|
|
|
public:
|
|
|
|
|
QGeoMappingManagerEngine* createMappingManagerEngine(const QVariantMap& parameters,
|
|
|
|
|
QGeoServiceProvider::Error* error,
|
|
|
|
|
QString* errorString) const override;
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
QT_END_NAMESPACE
|