#pragma once #include #include #include namespace scwx { namespace qt { namespace map { struct MapContext { explicit MapContext( std::shared_ptr radarProductView = nullptr) : gl_ {}, settings_ {}, radarProductView_ {radarProductView} { } ~MapContext() = default; MapContext(const MapContext&) = delete; MapContext& operator=(const MapContext&) = delete; MapContext(MapContext&&) noexcept = default; MapContext& operator=(MapContext&&) noexcept = default; gl::OpenGLFunctions gl_; MapSettings settings_; std::shared_ptr radarProductView_; }; } // namespace map } // namespace qt } // namespace scwx