blob: 12d82341820518d4bd2970b1e7b5e423e0718d3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#pragma once
#include <mbgl/sourcemanager/source_factory.hpp>
namespace mbgl {
class CustomGeometrySourceFactory : public SourceFactory {
protected:
const style::SourceTypeInfo* getTypeInfo() const noexcept final;
std::unique_ptr<style::Source> createSource(const std::string& id,
const style::conversion::Convertible& value,
style::conversion::Error&) noexcept final;
std::unique_ptr<RenderSource> createRenderSource(Immutable<style::Source::Impl>) noexcept final;
};
} // namespace mbgl
|