summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/vector_tile_data.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-06 17:15:23 -0700
committerKonstantin Käfer <mail@kkaefer.com>2016-06-10 12:42:14 +0200
commitb45713e5e98b31b73ab1aaa278bf746116a345fc (patch)
tree7b3ff6ac998ff3793c18df7c43404d715cdf839c /src/mbgl/tile/vector_tile_data.hpp
parentdbf16440a6ae8dedc408d8345e1527a516a42a1d (diff)
downloadqtlocation-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.hpp7
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