diff options
author | Alex Wilson <alex.wilson@nokia.com> | 2012-02-24 13:25:18 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-24 06:11:41 +0100 |
commit | 9628d6de358ffd74600ded8024775c4c8bdd3042 (patch) | |
tree | 3d979bab5800dbac097be46a3dd7885513f7277c /src/location/maps/qgeomap_p_p.h | |
parent | af00ab8e9909b80c03550694d567679fe28b00ca (diff) | |
download | qtlocation-9628d6de358ffd74600ded8024775c4c8bdd3042.tar.gz |
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 <david.laing@nokia.com>
Diffstat (limited to 'src/location/maps/qgeomap_p_p.h')
-rw-r--r-- | src/location/maps/qgeomap_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |