supercell-wx/scwx-qt/source/scwx/qt/map/alert_layer.hpp
2023-11-01 23:17:23 -05:00

32 lines
530 B
C++

#pragma once
#include <scwx/awips/phenomenon.hpp>
#include <scwx/qt/map/map_context.hpp>
#include <memory>
namespace scwx
{
namespace qt
{
namespace map
{
class AlertLayerImpl;
class AlertLayer
{
public:
explicit AlertLayer(std::shared_ptr<MapContext> context);
~AlertLayer();
void AddLayers(awips::Phenomenon phenomenon, const std::string& before = {});
void AddLayers(const std::string& before = {});
private:
std::unique_ptr<AlertLayerImpl> p;
};
} // namespace map
} // namespace qt
} // namespace scwx