1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWAYLANDEXTENSION_P_H
5#define QWAYLANDEXTENSION_P_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 <QtCore/private/qobject_p.h>
19
20#include <QtWaylandCompositor/QWaylandCompositorExtension>
21
22QT_BEGIN_NAMESPACE
23
24class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandCompositorExtensionPrivate : public QObjectPrivate
25{
26 Q_DECLARE_PUBLIC(QWaylandCompositorExtension)
27
28public:
29 QWaylandCompositorExtensionPrivate()
30 {
31 }
32
33 static QWaylandCompositorExtensionPrivate *get(QWaylandCompositorExtension *extension) { return extension->d_func(); }
34
35 QWaylandObject *extension_container = nullptr;
36 bool initialized = false;
37};
38
39QT_END_NAMESPACE
40
41#endif /*QWAYLANDEXTENSION_P_H*/
42

source code of qtwayland/src/compositor/global/qwaylandcompositorextension_p.h