summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/vector_source_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/style/sources/vector_source_impl.hpp')
-rw-r--r--src/mbgl/style/sources/vector_source_impl.hpp13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/mbgl/style/sources/vector_source_impl.hpp b/src/mbgl/style/sources/vector_source_impl.hpp
index 844739948c..602d0e5bbb 100644
--- a/src/mbgl/style/sources/vector_source_impl.hpp
+++ b/src/mbgl/style/sources/vector_source_impl.hpp
@@ -1,16 +1,23 @@
#pragma once
#include <mbgl/style/sources/vector_source.hpp>
-#include <mbgl/style/tile_source_impl.hpp>
+#include <mbgl/style/source_impl.hpp>
namespace mbgl {
namespace style {
-class VectorSource::Impl : public TileSourceImpl {
+class VectorSource::Impl : public Source::Impl {
public:
- Impl(std::string id, Source&, variant<std::string, Tileset>);
+ Impl(std::string id);
+ Impl(const Impl&, Tileset);
+ optional<Tileset> getTileset() const;
+
+ optional<std::string> getAttribution() const final;
std::unique_ptr<RenderSource> createRenderSource() const final;
+
+private:
+ optional<Tileset> tileset;
};
} // namespace style