Files
pilotclient/src/blackgui/components/installsimulatorspecificwizardpage.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

44 lines
1.3 KiB
C++

// SPDX-FileCopyrightText: Copyright (C) 2017 swift Project Community / Contributors
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
//! \file
#ifndef BLACKGUI_COMPONENTS_INSTALLSIMULATORSPECIFICCOMPONENT_H
#define BLACKGUI_COMPONENTS_INSTALLSIMULATORSPECIFICCOMPONENT_H
#include "blackgui/overlaymessagesframe.h"
#include <QWizard>
namespace BlackGui::Components
{
class CInstallXSwiftBusComponent;
class CInstallFsxTerrainProbeComponent;
/*!
* Simulator specific installation
*/
class CInstallSimulatorSpecificWizardPage : public COverlayMessagesWizardPage
{
Q_OBJECT
public:
//! Constructors
using COverlayMessagesWizardPage::COverlayMessagesWizardPage;
//! Set config
void setConfigComponent(CInstallXSwiftBusComponent *config, CInstallFsxTerrainProbeComponent *fsxTerrainProbe)
{
m_xSwiftBusConfig = config;
m_fsxTerrainProbe = fsxTerrainProbe;
}
//! \copydoc QWizardPage::validatePage
virtual bool validatePage() override { return true; }
private:
CInstallXSwiftBusComponent *m_xSwiftBusConfig = nullptr;
CInstallFsxTerrainProbeComponent *m_fsxTerrainProbe = nullptr;
};
} // ns
#endif // guard