mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-06 01:45:38 +08:00
30 lines
706 B
C++
30 lines
706 B
C++
#ifndef BLACKGUI_ATCSTATIONVIEW_H
|
|
#define BLACKGUI_ATCSTATIONVIEW_H
|
|
|
|
#include "viewbase.h"
|
|
#include "atcstationlistmodel.h"
|
|
|
|
namespace BlackGui
|
|
{
|
|
/*!
|
|
* \brief ATC stations view
|
|
*/
|
|
class CAtcStationView : public CViewBase<CAtcStationListModel>
|
|
{
|
|
|
|
public:
|
|
|
|
//! Constructor
|
|
explicit CAtcStationView(QWidget *parent = nullptr);
|
|
|
|
//! Set station mode
|
|
void setStationMode(CAtcStationListModel::AtcStationMode stationMode);
|
|
|
|
public slots:
|
|
//! \copydoc CAtcStationListModel::changedAtcStationConnectionStatus
|
|
void changedAtcStationConnectionStatus(const BlackMisc::Aviation::CAtcStation &station, bool added);
|
|
|
|
};
|
|
}
|
|
#endif // guard
|