Debian Codegraph @

wayland/qtwayland-dev/5.11.3/QtWaylandClient/private/qwaylandwlshellintegration_p.h

raw symbols SCIP
1 // Copyright (C) 2016 Jolla Ltd
2 //
3 // SPDX-License-Identifier: LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
4
5 #ifndef QWAYLANDWLSHELLINTEGRATION_P_H
6 #define QWAYLANDWLSHELLINTEGRATION_P_H
7
8 //
9 // W A R N I N G
10 // -------------
11 //
12 // This file is not part of the Qt API. It exists purely as an
13 // implementation detail. This header file may change from version to
14 // version without notice, or even be removed.
15 //
16 // We mean it.
17 //
18
19 #include <wayland-client.h>
20 #include <private/qwayland-wayland.h>
21
22 #include <QtWaylandClient/private/qwaylandshellintegration_p.h>
23
24 QT_BEGIN_NAMESPACE
25
26 namespace QtWaylandClient {
27
28 class Q_WAYLAND_CLIENT_EXPORT QWaylandWlShellIntegration : public QWaylandShellIntegration
29 {
30 public:
31 static QWaylandWlShellIntegration *create(QWaylandDisplay* display);
32 bool initialize(QWaylandDisplay *) override;
33 QWaylandShellSurface *createShellSurface(QWaylandWindow *window) override;
34
35 private:
36 QWaylandWlShellIntegration(QWaylandDisplay* display);
37
38 QtWayland::wl_shell *m_wlShell = nullptr;
39 };
40
41 }
42
43 QT_END_NAMESPACE
44
45 #endif // QWAYLANDWLSHELLINTEGRATION_P_H