* Eliminates the need for EnableImmutableFromThis
* Eliminates the dependency of {Source,Layer}::Impl on corresponding Render class (circular dependency)
24 lines
438 B
C++
24 lines
438 B
C++
#pragma once
|
|
|
|
#include <mbgl/style/sources/vector_source.hpp>
|
|
#include <mbgl/style/source_impl.hpp>
|
|
|
|
namespace mbgl {
|
|
namespace style {
|
|
|
|
class VectorSource::Impl : public Source::Impl {
|
|
public:
|
|
Impl(std::string id);
|
|
Impl(const Impl&, Tileset);
|
|
|
|
optional<Tileset> getTileset() const;
|
|
|
|
optional<std::string> getAttribution() const final;
|
|
|
|
private:
|
|
optional<Tileset> tileset;
|
|
};
|
|
|
|
} // namespace style
|
|
} // namespace mbgl
|