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/vector_tile_data.hpp | |
parent | dbf16440a6ae8dedc408d8345e1527a516a42a1d (diff) | |
download | qtlocation-mapboxgl-b45713e5e98b31b73ab1aaa278bf746116a345fc.tar.gz |
[core] Eliminate TileData dependency on TileSource
Diffstat (limited to 'src/mbgl/tile/vector_tile_data.hpp')
-rw-r--r-- | src/mbgl/tile/vector_tile_data.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mbgl/tile/vector_tile_data.hpp b/src/mbgl/tile/vector_tile_data.hpp index 739d1b9e7f..e3b0034f3a 100644 --- a/src/mbgl/tile/vector_tile_data.hpp +++ b/src/mbgl/tile/vector_tile_data.hpp @@ -5,6 +5,7 @@ namespace mbgl { class Tileset; +class TileSource; namespace style { class UpdateParameters; @@ -16,6 +17,12 @@ public: std::string sourceID, const style::UpdateParameters&, const Tileset&); + ~VectorTileData(); + + void setNecessity(Necessity) final; + +private: + std::unique_ptr<TileSource> tileSource; }; } // namespace mbgl |