diff options
Diffstat (limited to 'src/location/maps/qgeoserviceproviderfactory.cpp')
-rw-r--r-- | src/location/maps/qgeoserviceproviderfactory.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/location/maps/qgeoserviceproviderfactory.cpp b/src/location/maps/qgeoserviceproviderfactory.cpp index 7efc8a9f..c8192a32 100644 --- a/src/location/maps/qgeoserviceproviderfactory.cpp +++ b/src/location/maps/qgeoserviceproviderfactory.cpp @@ -160,4 +160,26 @@ QPlaceManagerEngine *QGeoServiceProviderFactory::createPlaceManagerEngine(const return 0; } +/*! + Returns a new QNavigationManagerEngine instance, initialized with \a + parameters, which implements navigation functionality. + + If \a error is not nullptr, it should be set to QGeoServiceProvider::NoError on + success or an appropriate QGeoServiceProvider::Error on failure. + + If \a errorString is not nullptr, it should be set to a string describing any + error which occurred. + + The default implementation returns nullptr, which causes a + QGeoServiceProvider::NotSupportedError in QGeoServiceProvider. +*/ +QNavigationManagerEngine *QGeoServiceProviderFactory::createNavigationManagerEngine(const QVariantMap ¶meters, QGeoServiceProvider::Error *error, QString *errorString) const +{ + Q_UNUSED(parameters) + Q_UNUSED(error) + Q_UNUSED(errorString) + + return 0; +} + QT_END_NAMESPACE |