swift
simulatorfsxconfig.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_SIMPLUGIN_SIMULATOR_FSX_CONFIG_H
7 #define SWIFT_SIMPLUGIN_SIMULATOR_FSX_CONFIG_H
8 
9 #include "gui/pluginconfig.h"
10 #include "misc/settingscache.h"
11 
12 namespace swift::simplugin::fsx
13 {
17  class CSimulatorFsxConfig : public QObject, public swift::gui::IPluginConfig
18  {
19  Q_OBJECT
20  Q_PLUGIN_METADATA(IID "org.swift-project.swiftgui.pluginconfiginterface" FILE "simulatorfsxconfig.json")
21  Q_INTERFACES(swift::gui::IPluginConfig)
22 
23  public:
25  CSimulatorFsxConfig(QObject *parent = nullptr);
26 
28  virtual ~CSimulatorFsxConfig() override {}
29 
31  swift::gui::CPluginConfigWindow *createConfigWindow(QWidget *parent) override;
32  };
33 } // namespace swift::simplugin::fsx
34 
35 #endif // SWIFT_SIMPLUGIN_SIMULATOR_FSX_CONFIG_H
Base class for plugin config window.
The interface for the plugin config.
Definition: pluginconfig.h:27
Window for setting up the FSX plugin.
swift::gui::CPluginConfigWindow * createConfigWindow(QWidget *parent)
Creates a new config window and returns its pointer.
CSimulatorFsxConfig(QObject *parent=nullptr)
Ctor.