summaryrefslogtreecommitdiffstats
path: root/src/opcua/compat/removed_api.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/opcua/compat/removed_api.cpp')
-rw-r--r--src/opcua/compat/removed_api.cpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/opcua/compat/removed_api.cpp b/src/opcua/compat/removed_api.cpp
new file mode 100644
index 0000000..5cd236c
--- /dev/null
+++ b/src/opcua/compat/removed_api.cpp
@@ -0,0 +1,31 @@
+// Copyright (C) 2015 basysKom GmbH, opensource@basyskom.com
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
+
+#define QT_OPCUA_BUILD_REMOVED_API
+
+#include "qopcuaglobal.h"
+
+QT_USE_NAMESPACE
+
+#if QT_OPCUA_REMOVED_SINCE(6, 7)
+
+#include "qopcuacontentfilterelement.h"
+
+bool QOpcUaContentFilterElement::operator==(const QOpcUaContentFilterElement &rhs) const
+{ return comparesEqual(*this, rhs); }
+
+#include "qopcuarelativepathelement.h"
+
+bool QOpcUaRelativePathElement::operator==(const QOpcUaRelativePathElement &rhs) const
+{ return comparesEqual(*this, rhs); }
+
+#include "qopcuasimpleattributeoperand.h"
+
+bool QOpcUaSimpleAttributeOperand::operator==(const QOpcUaSimpleAttributeOperand &rhs) const
+{ return comparesEqual(*this, rhs); }
+
+// #include "qotherheader.h"
+// // implement removed functions from qotherheader.h
+// order sections alphabetically to reduce chances of merge conflicts
+
+#endif // QT_OPCUA_REMOVED_SINCE(6, 7)