supercell-wx/scwx-qt/source/scwx/qt/manager/alert_manager.hpp
2024-07-02 12:31:05 -04:00

35 lines
531 B
C++

#pragma once
#include <scwx/qt/config/radar_site.hpp>
#include <memory>
#include <QObject>
namespace scwx
{
namespace qt
{
namespace manager
{
class AlertManager : public QObject
{
Q_OBJECT
Q_DISABLE_COPY_MOVE(AlertManager)
public:
explicit AlertManager();
~AlertManager();
void SetRadarSite(std::shared_ptr<config::RadarSite> radarSite);
static std::shared_ptr<AlertManager> Instance();
private:
class Impl;
std::unique_ptr<Impl> p;
};
} // namespace manager
} // namespace qt
} // namespace scwx