1 | // Copyright (C) 2017 Erik Larsson. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #ifndef QWAYLANDCLIENTEXTENSION_P_H |
5 | #define QWAYLANDCLIENTEXTENSION_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 | #include <QtWaylandClient/QWaylandClientExtension> |
20 | #include <QtWaylandClient/private/qwaylanddisplay_p.h> |
21 | #include <QtWaylandClient/private/qwaylandintegration_p.h> |
22 | |
23 | QT_BEGIN_NAMESPACE |
24 | |
25 | class Q_WAYLANDCLIENT_EXPORT QWaylandClientExtensionPrivate : public QObjectPrivate |
26 | { |
27 | public: |
28 | Q_DECLARE_PUBLIC(QWaylandClientExtension) |
29 | QWaylandClientExtensionPrivate(); |
30 | |
31 | void globalAdded(const QtWaylandClient::QWaylandDisplay::RegistryGlobal &global); |
32 | void globalRemoved(const QtWaylandClient::QWaylandDisplay::RegistryGlobal &global); |
33 | |
34 | QtWaylandClient::QWaylandIntegration *waylandIntegration = nullptr; |
35 | int version = -1; |
36 | bool active = false; |
37 | }; |
38 | |
39 | class Q_WAYLANDCLIENT_EXPORT QWaylandClientExtensionTemplatePrivate : public QWaylandClientExtensionPrivate |
40 | { |
41 | public: |
42 | QWaylandClientExtensionTemplatePrivate() |
43 | { } |
44 | }; |
45 | |
46 | QT_END_NAMESPACE |
47 | |
48 | #endif /*QWAYLANDCLIENTEXTENSION_P_H*/ |
49 | |