Files
pilotclient/src/blackgui/components/afvmapdialog.h
Lars Toenning bcc4bdd31e Add SPDX identifiers for REUSE compliance
Co-authored-by: Mat Sutcliffe <oktal3700@gmail.com>
2023-10-03 09:29:49 +02:00

50 lines
1.0 KiB
C++

// SPDX-FileCopyrightText: Copyright (C) 2019 swift Project Community / Contributors
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
//! \file
#ifndef BLACKGUI_COMPONENTS_AFVMAPDIALOG_H
#define BLACKGUI_COMPONENTS_AFVMAPDIALOG_H
#include "blackgui/blackguiexport.h"
#include <QDialog>
#include <QScopedPointer>
namespace BlackCore::Afv
{
namespace Model
{
class CAfvMapReader;
}
namespace Clients
{
class CAfvClient;
}
}
namespace Ui
{
class CAfvMapDialog;
}
namespace BlackGui::Components
{
//! QML map to display ATC stations
class BLACKGUI_EXPORT CAfvMapDialog : public QDialog
{
Q_OBJECT
public:
//! Ctor
explicit CAfvMapDialog(QWidget *parent = nullptr);
//! Dtor
virtual ~CAfvMapDialog() override;
private:
QScopedPointer<Ui::CAfvMapDialog> ui;
BlackCore::Afv::Model::CAfvMapReader *m_afvMapReader = nullptr;
BlackCore::Afv::Clients::CAfvClient *m_afvClient = nullptr;
};
} // ns
#endif // guard