| 1 | // Copyright (C) 2021 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 QWAYLANDQTINTEGRATION_H |
| 5 | #define QWAYLANDQTINTEGRATION_H |
| 6 | |
| 7 | #include <QtCore/qmutex.h> |
| 8 | |
| 9 | #include <QtWaylandClient/private/qwaylandshellintegration_p.h> |
| 10 | #include <QScopedPointer> |
| 11 | #include "qwayland-qt-shell-unstable-v1.h" |
| 12 | |
| 13 | QT_BEGIN_NAMESPACE |
| 14 | |
| 15 | namespace QtWaylandClient { |
| 16 | |
| 17 | class QWaylandWindow; |
| 18 | class QWaylandDisplay; |
| 19 | |
| 20 | |
| 21 | class Q_WAYLANDCLIENT_EXPORT QWaylandQtShellIntegration |
| 22 | : public QWaylandShellIntegrationTemplate<QWaylandQtShellIntegration> |
| 23 | , public QtWayland::zqt_shell_v1 |
| 24 | { |
| 25 | public: |
| 26 | QWaylandQtShellIntegration(); |
| 27 | |
| 28 | QWaylandShellSurface *createShellSurface(QWaylandWindow *window) override; |
| 29 | }; |
| 30 | |
| 31 | } |
| 32 | |
| 33 | QT_END_NAMESPACE |
| 34 | |
| 35 | #endif // QWAYLANDQTINTEGRATION_H |
| 36 |
