| 1 | // Copyright (C) 2017 The Qt Company Ltd. |
|---|---|
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QOPEN62541PLUGIN_H |
| 5 | #define QOPEN62541PLUGIN_H |
| 6 | |
| 7 | #include <QtOpcUa/qopcuaplugin.h> |
| 8 | |
| 9 | QT_BEGIN_NAMESPACE |
| 10 | |
| 11 | class QOpen62541Plugin : public QOpcUaPlugin |
| 12 | { |
| 13 | Q_OBJECT |
| 14 | |
| 15 | Q_PLUGIN_METADATA(IID "org.qt-project.qt.opcua.providerfactory/1.0"FILE "open62541-metadata.json") |
| 16 | Q_INTERFACES(QOpcUaPlugin) |
| 17 | |
| 18 | public: |
| 19 | explicit QOpen62541Plugin(QObject *parent = nullptr); |
| 20 | ~QOpen62541Plugin() override; |
| 21 | |
| 22 | QOpcUaClient *createClient(const QVariantMap &backendProperties) override; |
| 23 | }; |
| 24 | |
| 25 | QT_END_NAMESPACE |
| 26 | |
| 27 | #endif // QOPEN62541PLUGIN_H |
| 28 |
