MapContext has a GlContext instead of MapContext is a GlContext

This commit is contained in:
Dan Paulat 2025-05-07 22:37:45 -05:00
parent 58f2609fe7
commit 2d4ad2737e
31 changed files with 147 additions and 307 deletions

View file

@ -2,11 +2,7 @@
#include <scwx/qt/map/generic_layer.hpp>
namespace scwx
{
namespace qt
{
namespace map
namespace scwx::qt::map
{
class LayerWrapperImpl;
@ -14,7 +10,7 @@ class LayerWrapperImpl;
class LayerWrapper : public QMapLibre::CustomLayerHostInterface
{
public:
explicit LayerWrapper(std::shared_ptr<GenericLayer> layer);
explicit LayerWrapper(const std::shared_ptr<GenericLayer>& layer);
~LayerWrapper();
LayerWrapper(const LayerWrapper&) = delete;
@ -31,6 +27,4 @@ private:
std::unique_ptr<LayerWrapperImpl> p;
};
} // namespace map
} // namespace qt
} // namespace scwx
} // namespace scwx::qt::map