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
9QT_BEGIN_NAMESPACE
10
11class 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
18public:
19 explicit QOpen62541Plugin(QObject *parent = nullptr);
20 ~QOpen62541Plugin() override;
21
22 QOpcUaClient *createClient(const QVariantMap &backendProperties) override;
23};
24
25QT_END_NAMESPACE
26
27#endif // QOPEN62541PLUGIN_H
28

source code of qtopcua/src/plugins/opcua/open62541/qopen62541plugin.h