Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qgeoserviceproviderpluginosm.h
Go to the documentation of this file.
1// Copyright (C) 2016 Aaron McCarthy <mccarthy.aaron@gmail.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QGEOSERVICEPROVIDER_OSM_H
5#define QGEOSERVICEPROVIDER_OSM_H
6
7#include <QtCore/QObject>
8#include <QtLocation/QGeoServiceProviderFactory>
9
10QT_BEGIN_NAMESPACE
11
12class QGeoServiceProviderFactoryOsm: public QObject, public QGeoServiceProviderFactory
13{
14 Q_OBJECT
15 Q_INTERFACES(QGeoServiceProviderFactory)
16 Q_PLUGIN_METADATA(IID "org.qt-project.qt.geoservice.serviceproviderfactory/6.0"
17 FILE "osm_plugin.json")
18
19public:
20 QGeoCodingManagerEngine *createGeocodingManagerEngine(const QVariantMap &parameters,
21 QGeoServiceProvider::Error *error,
22 QString *errorString) const override;
23 QGeoMappingManagerEngine *createMappingManagerEngine(const QVariantMap &parameters,
24 QGeoServiceProvider::Error *error,
25 QString *errorString) const override;
26 QGeoRoutingManagerEngine *createRoutingManagerEngine(const QVariantMap &parameters,
27 QGeoServiceProvider::Error *error,
28 QString *errorString) const override;
29 QPlaceManagerEngine *createPlaceManagerEngine(const QVariantMap &parameters,
30 QGeoServiceProvider::Error *error,
31 QString *errorString) const override;
32};
33
34QT_END_NAMESPACE
35
36#endif