aboutsummaryrefslogtreecommitdiff
path: root/plugins/ConfigurationEditor/configurationeditorplugin.h
blob: 5e70ab7d901200a6b26a78afb88a016791ecf7be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef CONFIGURATIONEDITOR_PLUGIN_H
#define CONFIGURATIONEDITOR_PLUGIN_H

#include <QVector>
#include <interfaces.h>

class QDialog;
class ConfigurationEditorPlugin : public QObject, public PluginInterface
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID PluginInterfaceIid FILE "ConfigurationEditor.json")
    Q_INTERFACES(PluginInterface)

public:
    // PluginInterface
    CommandHash_t commands() override;
    QDialog *createWidget(QWidget *parent = nullptr) override;
};

#endif // CONFIGURATIONEDITOR_PLUGIN_H