1 | // Copyright (C) 2016 Jolla Ltd |
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 QWAYLANDSHELLINTEGRATIONPLUGIN_H |
5 | #define QWAYLANDSHELLINTEGRATIONPLUGIN_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 <QtWaylandClient/qtwaylandclientglobal.h> |
19 | |
20 | #include <QtCore/qplugin.h> |
21 | #include <QtCore/qfactoryinterface.h> |
22 | #include <QtCore/QObject> |
23 | #include <QtCore/private/qglobal_p.h> |
24 | |
25 | QT_BEGIN_NAMESPACE |
26 | |
27 | namespace QtWaylandClient { |
28 | |
29 | class QWaylandShellIntegration; |
30 | |
31 | #define QWaylandShellIntegrationFactoryInterface_iid "org.qt-project.Qt.WaylandClient.QWaylandShellIntegrationFactoryInterface.5.3" |
32 | |
33 | class Q_WAYLANDCLIENT_EXPORT QWaylandShellIntegrationPlugin : public QObject |
34 | { |
35 | Q_OBJECT |
36 | public: |
37 | explicit QWaylandShellIntegrationPlugin(QObject *parent = nullptr); |
38 | ~QWaylandShellIntegrationPlugin() override; |
39 | |
40 | virtual QWaylandShellIntegration *create(const QString &key, const QStringList ¶mList) = 0; |
41 | }; |
42 | |
43 | } |
44 | |
45 | QT_END_NAMESPACE |
46 | |
47 | #endif // QWAYLANDSHELLINTEGRATIONPLUGIN_H |
48 | |