1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWAYLANDCOMPOSITORIVIAPPLICATIONFOREIGN_H
5#define QWAYLANDCOMPOSITORIVIAPPLICATIONFOREIGN_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtQml/qqmlextensionplugin.h>
19#include <QtQml/qqml.h>
20
21#include <QtWaylandCompositor/qwaylandquickextension.h>
22#include <QtWaylandCompositor/qwaylandiviapplication.h>
23#include <QtWaylandCompositor/qwaylandivisurface.h>
24
25QT_BEGIN_NAMESPACE
26
27Q_COMPOSITOR_DECLARE_QUICK_EXTENSION_NAMED_ELEMENT(QWaylandIviApplication, IviApplication, 1, 0)
28
29struct QWaylandIviSurfaceForeign {
30 Q_GADGET
31 QML_FOREIGN(QWaylandIviSurface)
32 QML_NAMED_ELEMENT(IviSurface)
33 QML_ADDED_IN_VERSION(1, 0)
34};
35
36
37QT_END_NAMESPACE
38
39#endif
40

Provided by KDAB

Privacy Policy
Learn Advanced QML with KDAB
Find out more

source code of qtwayland/src/imports/compositor-extensions/iviapplication/qwaylandcompositoriviapplicationforeign_p.h