1 | // Copyright (C) 2018 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> |
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 QWAYLANDFULLSCREENSHELLV1INTEGRATION_H |
5 | #define QWAYLANDFULLSCREENSHELLV1INTEGRATION_H |
6 | |
7 | #include <wayland-client.h> |
8 | #include <QtWaylandClient/private/qwayland-wayland.h> |
9 | #include <QtWaylandClient/private/qwaylandshellintegration_p.h> |
10 | |
11 | #include "qwayland-fullscreen-shell-unstable-v1.h" |
12 | |
13 | QT_BEGIN_NAMESPACE |
14 | |
15 | namespace QtWaylandClient { |
16 | |
17 | class Q_WAYLANDCLIENT_EXPORT QWaylandFullScreenShellV1Integration |
18 | : public QWaylandShellIntegrationTemplate<QWaylandFullScreenShellV1Integration>, |
19 | public QtWayland::zwp_fullscreen_shell_v1 |
20 | { |
21 | public: |
22 | QWaylandFullScreenShellV1Integration(); |
23 | ~QWaylandFullScreenShellV1Integration() override; |
24 | QWaylandShellSurface *createShellSurface(QWaylandWindow *window) override; |
25 | }; |
26 | |
27 | } // namespace QtWaylandClient |
28 | |
29 | QT_END_NAMESPACE |
30 | |
31 | #endif // QWAYLANDFULLSCREENSHELLV1INTEGRATION_H |
32 | |