1// Copyright (C) 2017 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 QWAYLANDWLSHELLINTEGRATION_P_H
5#define QWAYLANDWLSHELLINTEGRATION_P_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 <private/qwayland-wayland.h>
19
20#include <QtWaylandClient/private/qwaylandshellintegration_p.h>
21
22QT_BEGIN_NAMESPACE
23
24namespace QtWaylandClient {
25
26class Q_WAYLANDCLIENT_EXPORT QWaylandWlShellIntegration
27 : public QWaylandShellIntegrationTemplate<QWaylandWlShellIntegration>,
28 public QtWayland::wl_shell
29{
30public:
31 QWaylandWlShellIntegration();
32 QWaylandShellSurface *createShellSurface(QWaylandWindow *window) override;
33 void *nativeResourceForWindow(const QByteArray &resource, QWindow *window) override;
34
35private:
36};
37
38}
39
40QT_END_NAMESPACE
41
42#endif // QWAYLANDWLSHELLINTEGRATION_P_H
43

source code of qtwayland/src/plugins/shellintegration/wl-shell/qwaylandwlshellintegration_p.h