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