Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
19 lines
552 B
C++
19 lines
552 B
C++
#pragma once
|
|
|
|
#include <mln/layermanager/layer_factory.hpp>
|
|
#include <mln/style/layer.hpp>
|
|
|
|
#include <array>
|
|
|
|
namespace mln {
|
|
|
|
class CustomLayerFactory : 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 mln
|