1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWAYLANDIVIAPPLICATION_H
5#define QWAYLANDIVIAPPLICATION_H
6
7#include <QtWaylandCompositor/QWaylandCompositorExtension>
8#include <QtWaylandCompositor/QWaylandSurface>
9#include <QtWaylandCompositor/QWaylandResource>
10#include <QtWaylandCompositor/QWaylandIviSurface>
11#include <QtCore/QSize>
12
13QT_BEGIN_NAMESPACE
14
15class QWaylandIviApplicationPrivate;
16
17class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandIviApplication : public QWaylandCompositorExtensionTemplate<QWaylandIviApplication>
18{
19 Q_OBJECT
20 Q_DECLARE_PRIVATE(QWaylandIviApplication)
21
22public:
23 QWaylandIviApplication();
24 QWaylandIviApplication(QWaylandCompositor *compositor);
25
26 void initialize() override;
27
28 static const struct wl_interface *interface();
29 static QByteArray interfaceName();
30
31Q_SIGNALS:
32 void iviSurfaceRequested(QWaylandSurface *surface, uint iviId, const QWaylandResource &resource);
33 void iviSurfaceCreated(QWaylandIviSurface *iviSurface);
34};
35
36QT_END_NAMESPACE
37
38#endif // QWAYLANDIVIAPPLICATION_H
39

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