#include namespace scwx::qt::map { class GenericLayer::Impl { public: explicit Impl(std::shared_ptr glContext) : glContext_ {std::move(glContext)} { } ~Impl() = default; Impl(const Impl&) = delete; Impl& operator=(const Impl&) = delete; Impl(const Impl&&) = delete; Impl& operator=(const Impl&&) = delete; std::shared_ptr glContext_; }; GenericLayer::GenericLayer(std::shared_ptr glContext) : p(std::make_unique(std::move(glContext))) { } GenericLayer::~GenericLayer() = default; bool GenericLayer::RunMousePicking( const std::shared_ptr& /* mapContext */, const QMapLibre::CustomLayerRenderParameters& /* params */, const QPointF& /* mouseLocalPos */, const QPointF& /* mouseGlobalPos */, const glm::vec2& /* mousePos */, const common::Coordinate& /* mouseGeoCoords */, std::shared_ptr& /* eventHandler */) { // By default, the layer has nothing to pick return false; } std::shared_ptr GenericLayer::gl_context() const { return p->glContext_; } } // namespace scwx::qt::map