swift
simulatoremulatedconfig.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2017 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_EMULATED_SIMULATOREMULATEDCONFIG_H
7 #define SWIFT_SIMPLUGIN_EMULATED_SIMULATOREMULATEDCONFIG_H
8 
9 #include "gui/pluginconfig.h"
10 
11 namespace swift::simplugin::emulated
12 {
16  class CSimulatorEmulatedConfig : public QObject, public swift::gui::IPluginConfig
17  {
18  Q_OBJECT
19  Q_PLUGIN_METADATA(IID "org.swift-project.swiftgui.pluginconfiginterface" FILE "simulatoremulatedconfig.json")
20  Q_INTERFACES(swift::gui::IPluginConfig)
21 
22  public:
24  CSimulatorEmulatedConfig(QObject *parent = nullptr);
25 
27  virtual ~CSimulatorEmulatedConfig() override {}
28 
30  swift::gui::CPluginConfigWindow *createConfigWindow(QWidget *parent) override;
31  };
32 } // namespace swift::simplugin::emulated
33 
34 #endif // SWIFT_SIMPLUGIN_EMULATED_SIMULATOREMULATEDCONFIG_H
Base class for plugin config window.
The interface for the plugin config.
Definition: pluginconfig.h:27
swift::gui::CPluginConfigWindow * createConfigWindow(QWidget *parent)
Creates a new config window and returns its pointer.