summaryrefslogtreecommitdiffstats
path: root/src/compositor/compat/removed_api.cpp
blob: 9a4f7c6a775c2bcb95dbdc93d0b2eff690806b22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (C) 2022 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only

#define QT_WAYLANDCOMPOSITOR_BUILD_REMOVED_API

#include "qtwaylandcompositorglobal.h"

QT_USE_NAMESPACE

#if QT_WAYLANDCOMPOSITOR_REMOVED_SINCE(6, 3)

#include "qwaylandbufferref.h"

bool QWaylandBufferRef::operator==(const QWaylandBufferRef &other)
{
    return std::as_const(*this) == other;
}

bool QWaylandBufferRef::operator!=(const QWaylandBufferRef &other)
{
    return std::as_const(*this) != other;
}

#endif // QT_WAYLANDCOMPOSITOR_REMOVED_SINCE(6, 3)

#if QT_WAYLANDCOMPOSITOR_REMOVED_SINCE(6, 4)

// #include "qotherheader.h"
// // implement removed functions from qotherheader.h
// order alphabetically

#endif // QT_WAYLANDCOMPOSITOR_REMOVED_SINCE(6, 4)