summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/geojson_tile_data.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-06-06 16:59:27 -0700
committerKonstantin Käfer <mail@kkaefer.com>2016-06-10 12:42:14 +0200
commitc3a8534a4308474a4b6cad09785d53ab43cb6f6a (patch)
tree3d18d2d72bfb216a49fe18dd17fe51b46e0da6db /src/mbgl/tile/geojson_tile_data.hpp
parent908f3f083244dc264e8e6a6869c543d456b2b13c (diff)
downloadqtlocation-mapboxgl-c3a8534a4308474a4b6cad09785d53ab43cb6f6a.tar.gz
[core] Push conditional initialization into subclasses
Diffstat (limited to 'src/mbgl/tile/geojson_tile_data.hpp')
-rw-r--r--src/mbgl/tile/geojson_tile_data.hpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/mbgl/tile/geojson_tile_data.hpp b/src/mbgl/tile/geojson_tile_data.hpp
index be1a38abe6..63a0b1b65d 100644
--- a/src/mbgl/tile/geojson_tile_data.hpp
+++ b/src/mbgl/tile/geojson_tile_data.hpp
@@ -2,11 +2,24 @@
#include <mbgl/tile/geometry_tile_data.hpp>
+namespace mapbox {
+namespace geojsonvt {
+class GeoJSONVT;
+} // namespace geojsonvt
+} // namespace mapbox
+
namespace mbgl {
+namespace style {
+class UpdateParameters;
+}
+
class GeoJSONTileData : public GeometryTileData {
public:
- using GeometryTileData::GeometryTileData;
+ GeoJSONTileData(const OverscaledTileID&,
+ std::string sourceID,
+ const style::UpdateParameters&,
+ mapbox::geojsonvt::GeoJSONVT*);
};
} // namespace mbgl