1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWAYLANDVIEWPORTER_H
5#define QWAYLANDVIEWPORTER_H
6
7#include <QtWaylandCompositor/QWaylandCompositorExtension>
8
9QT_BEGIN_NAMESPACE
10
11class QWaylandViewporterPrivate;
12
13class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandViewporter
14 : public QWaylandCompositorExtensionTemplate<QWaylandViewporter>
15{
16 Q_OBJECT
17 Q_DECLARE_PRIVATE(QWaylandViewporter)
18
19public:
20 explicit QWaylandViewporter();
21 explicit QWaylandViewporter(QWaylandCompositor *compositor);
22
23 void initialize() override;
24
25 static const struct wl_interface *interface();
26};
27
28QT_END_NAMESPACE
29
30#endif // QWAYLANDVIEWPORTER_H
31

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