1 | // Copyright (C) 2017 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QWAYLANDIVISURFACEINTEGRATION_H |
5 | #define QWAYLANDIVISURFACEINTEGRATION_H |
6 | |
7 | #include <QtWaylandCompositor/private/qwaylandquickshellsurfaceitem_p.h> |
8 | |
9 | #include <QtWaylandCompositor/QWaylandIviSurface> |
10 | |
11 | QT_BEGIN_NAMESPACE |
12 | |
13 | // |
14 | // W A R N I N G |
15 | // ------------- |
16 | // |
17 | // This file is not part of the Qt API. It exists purely as an |
18 | // implementation detail. This header file may change from version to |
19 | // version without notice, or even be removed. |
20 | // |
21 | // We mean it. |
22 | // |
23 | |
24 | namespace QtWayland { |
25 | |
26 | class IviSurfaceIntegration : public QWaylandQuickShellIntegration |
27 | { |
28 | Q_OBJECT |
29 | public: |
30 | IviSurfaceIntegration(QWaylandQuickShellSurfaceItem *item); |
31 | ~IviSurfaceIntegration() override; |
32 | |
33 | private Q_SLOTS: |
34 | void handleIviSurfaceDestroyed(); |
35 | |
36 | private: |
37 | QWaylandQuickShellSurfaceItem *m_item = nullptr; |
38 | QWaylandIviSurface *m_shellSurface = nullptr; |
39 | }; |
40 | |
41 | } |
42 | |
43 | QT_END_NAMESPACE |
44 | |
45 | #endif // QWAYLANDIVISURFACEINTEGRATION_H |
46 |