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
13QT_BEGIN_NAMESPACE
14
15namespace QtWaylandClient {
16
17class QWaylandWindow;
18class QWaylandDisplay;
19
20
21class Q_WAYLANDCLIENT_EXPORT QWaylandQtShellIntegration
22 : public QWaylandShellIntegrationTemplate<QWaylandQtShellIntegration>
23 , public QtWayland::zqt_shell_v1
24{
25public:
26 QWaylandQtShellIntegration();
27
28 QWaylandShellSurface *createShellSurface(QWaylandWindow *window) override;
29};
30
31}
32
33QT_END_NAMESPACE
34
35#endif // QWAYLANDQTINTEGRATION_H
36

source code of qtwayland/src/plugins/shellintegration/qt-shell/qwaylandqtshellintegration.h