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
qgeoserviceproviderpluginmapboxgl.h
Go to the documentation of this file.
1// Copyright (C) 2017 The Qt Company Ltd.
2// Copyright (C) 2017 Mapbox, Inc.
3// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5#ifndef QGEOSERVICEPROVIDER_MAPBOXGL_H
6#define QGEOSERVICEPROVIDER_MAPBOXGL_H
7
8#include <QtCore/QObject>
9#include <QtLocation/QGeoServiceProviderFactory>
10
11QT_BEGIN_NAMESPACE
12
13class QGeoServiceProviderFactoryMapboxGL: public QObject, public QGeoServiceProviderFactory
14{
15 Q_OBJECT
16 Q_INTERFACES(QGeoServiceProviderFactory)
17 Q_PLUGIN_METADATA(IID "org.qt-project.qt.geoservice.serviceproviderfactory/6.0"
18 FILE "mapboxgl_plugin.json")
19
20public:
21 QGeoServiceProviderFactoryMapboxGL();
22
23 QGeoCodingManagerEngine *createGeocodingManagerEngine(const QVariantMap &parameters,
24 QGeoServiceProvider::Error *error,
25 QString *errorString) const;
26 QGeoMappingManagerEngine *createMappingManagerEngine(const QVariantMap &parameters,
27 QGeoServiceProvider::Error *error,
28 QString *errorString) const;
29 QGeoRoutingManagerEngine *createRoutingManagerEngine(const QVariantMap &parameters,
30 QGeoServiceProvider::Error *error,
31 QString *errorString) const;
32 QPlaceManagerEngine *createPlaceManagerEngine(const QVariantMap &parameters,
33 QGeoServiceProvider::Error *error,
34 QString *errorString) const;
35};
36
37QT_END_NAMESPACE
38
39#endif