summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeoserviceprovider_p.h
diff options
context:
space:
mode:
authorPaolo Angelelli <paolo.angelelli@qt.io>2018-03-19 13:36:25 +0100
committerPaolo Angelelli <paolo.angelelli@qt.io>2018-03-20 10:12:07 +0000
commit1ced79ad7cc256eb82113e3419cb09926ceae9c3 (patch)
tree64ad3f777fbf2b89075fb81fe4dcf63ee2128573 /src/location/maps/qgeoserviceprovider_p.h
parenta7de94c0a26d46cd6547529ad558fc172e32e325 (diff)
downloadqtlocation-1ced79ad7cc256eb82113e3419cb09926ceae9c3.tar.gz
QGeoServiceProviderFactory: Restore binary compatibility to Qt 5.10
Added a new QGeoServiceProviderFactoryV2 to load plugins offering a navigation manager engine. To be able to still load plugins compiled against Qt 5.10, both factories are considered when loading plugins, using the pointer to the V2 only when accessing the newly exposed functionality. Change-Id: I8e5e868737c77142e77caaacef278686565928df Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/location/maps/qgeoserviceprovider_p.h')
-rw-r--r--src/location/maps/qgeoserviceprovider_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/location/maps/qgeoserviceprovider_p.h b/src/location/maps/qgeoserviceprovider_p.h
index 1aaa498c..11b86bad 100644
--- a/src/location/maps/qgeoserviceprovider_p.h
+++ b/src/location/maps/qgeoserviceprovider_p.h
@@ -62,6 +62,7 @@ class QGeoRoutingManager;
class QGeoMappingManager;
class QGeoServiceProviderFactory;
+class QGeoServiceProviderFactoryV2;
class QGeoServiceProviderPrivate
{
@@ -82,6 +83,7 @@ public:
Flags features(const char *enumName);
QGeoServiceProviderFactory *factory;
+ QGeoServiceProviderFactoryV2 *factoryV2 = nullptr;
QJsonObject metaData;
QVariantMap parameterMap;