mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 19:25:49 +08:00
44 lines
1.3 KiB
C++
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
|