mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
feat: Add MSFS support
Co-Authored-By: Roland Rossgotterer <roland.rossgotterer@gmail.com> Co-Authored-By: tzobler <tzobler@t-online.de>
This commit is contained in:
34
src/plugins/simulator/msfsconfig/simulatormsfsconfig.h
Normal file
34
src/plugins/simulator/msfsconfig/simulatormsfsconfig.h
Normal file
@@ -0,0 +1,34 @@
|
||||
// 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 SWIFT_SIMPLUGIN_MSFS_SIMULATORMSFSCONFIG_H
|
||||
#define SWIFT_SIMPLUGIN_MSFS_SIMULATORMSFSCONFIG_H
|
||||
|
||||
#include "gui/pluginconfig.h"
|
||||
|
||||
namespace swift::simplugin::msfs
|
||||
{
|
||||
/*!
|
||||
* Window for setting up the MSFS plugin.
|
||||
*/
|
||||
class CSimulatorMsfsConfig : public QObject, public swift::gui::IPluginConfig
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA(IID "org.swift-project.swiftgui.pluginconfiginterface" FILE "simulatormsfsconfig.json")
|
||||
Q_INTERFACES(swift::gui::IPluginConfig)
|
||||
|
||||
public:
|
||||
//! Ctor
|
||||
CSimulatorMsfsConfig(QObject *parent = nullptr);
|
||||
|
||||
//! Dtor
|
||||
virtual ~CSimulatorMsfsConfig() {}
|
||||
|
||||
//! \copydoc swift::gui::IPluginConfig::createConfigWindow()
|
||||
swift::gui::CPluginConfigWindow *createConfigWindow(QWidget *parent) override;
|
||||
};
|
||||
}
|
||||
|
||||
#endif // guard
|
||||
Reference in New Issue
Block a user