diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-06-06 17:15:23 -0700 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-06-10 12:42:14 +0200 |
commit | b45713e5e98b31b73ab1aaa278bf746116a345fc (patch) | |
tree | 7b3ff6ac998ff3793c18df7c43404d715cdf839c /src/mbgl/tile/geojson_tile_data.hpp | |
parent | dbf16440a6ae8dedc408d8345e1527a516a42a1d (diff) | |
download | qtlocation-mapboxgl-b45713e5e98b31b73ab1aaa278bf746116a345fc.tar.gz |
[core] Eliminate TileData dependency on TileSource
Diffstat (limited to 'src/mbgl/tile/geojson_tile_data.hpp')
-rw-r--r-- | src/mbgl/tile/geojson_tile_data.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mbgl/tile/geojson_tile_data.hpp b/src/mbgl/tile/geojson_tile_data.hpp index 63a0b1b65d..2110b4b9c8 100644 --- a/src/mbgl/tile/geojson_tile_data.hpp +++ b/src/mbgl/tile/geojson_tile_data.hpp @@ -10,6 +10,8 @@ class GeoJSONVT; namespace mbgl { +class TileSource; + namespace style { class UpdateParameters; } @@ -20,6 +22,12 @@ public: std::string sourceID, const style::UpdateParameters&, mapbox::geojsonvt::GeoJSONVT*); + ~GeoJSONTileData(); + + void setNecessity(Necessity) final; + +private: + std::unique_ptr<TileSource> tileSource; }; } // namespace mbgl |