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
11QT_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
24namespace QtWayland {
25
26class IviSurfaceIntegration : public QWaylandQuickShellIntegration
27{
28 Q_OBJECT
29public:
30 IviSurfaceIntegration(QWaylandQuickShellSurfaceItem *item);
31 ~IviSurfaceIntegration() override;
32
33private Q_SLOTS:
34 void handleIviSurfaceDestroyed();
35
36private:
37 QWaylandQuickShellSurfaceItem *m_item = nullptr;
38 QWaylandIviSurface *m_shellSurface = nullptr;
39};
40
41}
42
43QT_END_NAMESPACE
44
45#endif // QWAYLANDIVISURFACEINTEGRATION_H
46

source code of qtwayland/src/compositor/extensions/qwaylandivisurfaceintegration_p.h