summaryrefslogtreecommitdiff
path: root/include/mbgl/layermanager/background_layer_factory.hpp
blob: f2fa2f7a56025e3d638061d25db7bf32e100fb3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include <mbgl/layermanager/layer_factory.hpp>

namespace mbgl {

class BackgroundLayerFactory : public LayerFactory {
protected:
    const style::LayerTypeInfo* getTypeInfo() const noexcept final;
    std::unique_ptr<style::Layer> createLayer(const std::string& id, const style::conversion::Convertible& value) noexcept final;
    std::unique_ptr<RenderLayer> createRenderLayer(Immutable<style::Layer::Impl>) noexcept final;
};

} // namespace mbgl