summaryrefslogtreecommitdiff
path: root/src/location/maps/qgeoserviceprovider_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/location/maps/qgeoserviceprovider_p.h')
-rw-r--r--src/location/maps/qgeoserviceprovider_p.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/location/maps/qgeoserviceprovider_p.h b/src/location/maps/qgeoserviceprovider_p.h
index 191f3517..f1d24ddf 100644
--- a/src/location/maps/qgeoserviceprovider_p.h
+++ b/src/location/maps/qgeoserviceprovider_p.h
@@ -77,6 +77,14 @@ public:
void loadMeta();
void loadPlugin(const QMap<QString, QVariant> &parameters);
void unload();
+
+ /* helper templates for generating the feature and manager accessors */
+ template <class Manager, class Engine>
+ Manager *manager(QGeoServiceProvider::Error *error,
+ QString *errorString, Manager **manager);
+ template <class Flags>
+ Flags features(const char *enumName);
+
QGeoServiceProviderFactory *factory;
QJsonObject metaData;