diff options
Diffstat (limited to 'src/mbgl/style/sources/custom_vector_source_impl.hpp')
-rw-r--r-- | src/mbgl/style/sources/custom_vector_source_impl.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mbgl/style/sources/custom_vector_source_impl.hpp b/src/mbgl/style/sources/custom_vector_source_impl.hpp index aa07bc800d..af103f4c7e 100644 --- a/src/mbgl/style/sources/custom_vector_source_impl.hpp +++ b/src/mbgl/style/sources/custom_vector_source_impl.hpp @@ -3,24 +3,24 @@ #include <mbgl/style/source_impl.hpp> #include <mbgl/style/sources/custom_vector_source.hpp> #include <mbgl/tile/tile_id.hpp> +#include <mbgl/actor/actor_ref.hpp> namespace mbgl { namespace style { class CustomVectorSource::Impl : public Source::Impl { public: - Impl(std::string id, - GeoJSONOptions options, - FetchTileFunction fetchTileFn); + Impl(std::string id, GeoJSONOptions options); + Impl(const Impl&, ActorRef<CustomTileLoader>); optional<std::string> getAttribution() const final; GeoJSONOptions getOptions() const; - FetchTileFunction getFetchTileFunction() const; + optional<ActorRef<CustomTileLoader>> getTileLoader() const; private: GeoJSONOptions options; - FetchTileFunction fetchTileFn; + optional<ActorRef<CustomTileLoader>> loaderRef; }; } // namespace style |