summaryrefslogtreecommitdiff
path: root/include/mbgl/sourcemanager/raster_source_factory.hpp
blob: d5f88e65d9cd8ed253a7eca31d1f1d681c2c2654 (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 RasterSourceFactory : 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