From 9628d6de358ffd74600ded8024775c4c8bdd3042 Mon Sep 17 00:00:00 2001 From: Alex Wilson Date: Fri, 24 Feb 2012 13:25:18 +1000 Subject: Expose camera caps via QGeoMap, add isValid() method to camera caps This is useful to the QML plugin, so that map objects can be aware of what camera actions to expect from their parent map. The isValid() method is necessary so that callers can tell the difference between a default, empty QGeoCameraCapabilities, and one actually populated by a backend plugin. Change-Id: I7e742fee5bac9f003e0cc99e4c3d6a747a67ea24 Reviewed-by: David Laing --- src/location/maps/qgeomap_p_p.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/location/maps/qgeomap_p_p.h') diff --git a/src/location/maps/qgeomap_p_p.h b/src/location/maps/qgeomap_p_p.h index f6f0c5a3..c878697b 100644 --- a/src/location/maps/qgeomap_p_p.h +++ b/src/location/maps/qgeomap_p_p.h @@ -95,6 +95,7 @@ public: QGeoTileCache* tileCache(); void setMappingManager(QGeoMappingManager *manager); + QGeoMappingManager *manager() const; QGeoMapController* mapController(); -- cgit v1.2.1