#include namespace scwx { namespace qt { namespace map { class GenericLayerImpl { public: explicit GenericLayerImpl(std::shared_ptr context) : context_ {context} { } ~GenericLayerImpl() {} std::shared_ptr context_; }; GenericLayer::GenericLayer(std::shared_ptr context) : p(std::make_unique(context)) { } GenericLayer::~GenericLayer() = default; bool GenericLayer::RunMousePicking( const QMapLibreGL::CustomLayerRenderParameters& /* params */, const glm::vec2& /* mousePos */) { // By default, the layer has nothing to pick return false; } std::shared_ptr GenericLayer::context() const { return p->context_; } } // namespace map } // namespace qt } // namespace scwx