mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:50:04 +00:00
35 lines
538 B
C++
35 lines
538 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(const 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
|