| 1 | // Copyright (C) 2019 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 QOPCUAX509EXTENSION_H | 
| 5 | #define QOPCUAX509EXTENSION_H | 
| 6 | |
| 7 | #include <QtOpcUa/qopcuaglobal.h> | 
| 8 | #include <QtCore/qshareddata.h> | 
| 9 | |
| 10 | QT_BEGIN_NAMESPACE | 
| 11 | |
| 12 | class QOpcUaX509ExtensionData; | 
| 13 | class Q_OPCUA_EXPORT QOpcUaX509Extension | 
| 14 | { | 
| 15 | public: | 
| 16 | QOpcUaX509Extension(); | 
| 17 | QOpcUaX509Extension(const QOpcUaX509Extension &); | 
| 18 | QOpcUaX509Extension &operator=(const QOpcUaX509Extension &); | 
| 19 | bool operator==(const QOpcUaX509Extension &rhs) const; | 
| 20 | virtual ~QOpcUaX509Extension(); | 
| 21 | void setCritical(bool critical); | 
| 22 | bool critical() const; | 
| 23 | |
| 24 | protected: | 
| 25 | QOpcUaX509Extension(QOpcUaX509ExtensionData*); | 
| 26 | QOpcUaX509Extension(QSharedDataPointer<QOpcUaX509ExtensionData>); | 
| 27 | QSharedDataPointer<QOpcUaX509ExtensionData> data; | 
| 28 | }; | 
| 29 | |
| 30 | QT_END_NAMESPACE | 
| 31 | |
| 32 | #endif // QOPCUAX509EXTENSION_H | 
| 33 | 
