| 1 | // Copyright (C) 2018 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QWAYLANDHARDWARELAYERINTEGRATION_H |
| 5 | #define QWAYLANDHARDWARELAYERINTEGRATION_H |
| 6 | |
| 7 | // |
| 8 | // W A R N I N G |
| 9 | // ------------- |
| 10 | // |
| 11 | // This file is not part of the Qt API. It exists purely as an |
| 12 | // implementation detail. This header file may change from version to |
| 13 | // version without notice, or even be removed. |
| 14 | // |
| 15 | // We mean it. |
| 16 | // |
| 17 | |
| 18 | #include <QtWaylandCompositor/qtwaylandcompositorglobal.h> |
| 19 | |
| 20 | #include <QObject> |
| 21 | #include <private/qglobal_p.h> |
| 22 | |
| 23 | QT_BEGIN_NAMESPACE |
| 24 | |
| 25 | class QPoint; |
| 26 | |
| 27 | class QWaylandQuickHardwareLayer; |
| 28 | |
| 29 | namespace QtWayland { |
| 30 | |
| 31 | class Q_WAYLANDCOMPOSITOR_EXPORT HardwareLayerIntegration : public QObject |
| 32 | { |
| 33 | Q_OBJECT |
| 34 | public: |
| 35 | HardwareLayerIntegration(QObject *parent = nullptr) |
| 36 | : QObject(parent) |
| 37 | {} |
| 38 | ~HardwareLayerIntegration() override {} |
| 39 | virtual void add(QWaylandQuickHardwareLayer *) {} |
| 40 | virtual void remove(QWaylandQuickHardwareLayer *) {} |
| 41 | }; |
| 42 | |
| 43 | } // namespace QtWayland |
| 44 | |
| 45 | QT_END_NAMESPACE |
| 46 | |
| 47 | #endif // QWAYLANDHARDWARELAYERINTEGRATION_H |
| 48 | |