1 | // Copyright (C) 2018 The Qt Company 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 | #include "qwaylandxdgshellintegration_p.h" |
5 | |
6 | #include <QtWaylandClient/private/qwaylandshellintegrationplugin_p.h> |
7 | |
8 | QT_BEGIN_NAMESPACE |
9 | |
10 | namespace QtWaylandClient { |
11 | |
12 | class QWaylandXdgShellIntegrationPlugin : public QWaylandShellIntegrationPlugin |
13 | { |
14 | Q_OBJECT |
15 | Q_PLUGIN_METADATA(IID QWaylandShellIntegrationFactoryInterface_iid FILE "xdg-shell.json") |
16 | |
17 | public: |
18 | QWaylandShellIntegration *create(const QString &key, const QStringList ¶mList) override; |
19 | }; |
20 | |
21 | QWaylandShellIntegration *QWaylandXdgShellIntegrationPlugin::create(const QString &key, const QStringList ¶mList) |
22 | { |
23 | Q_UNUSED(key); |
24 | Q_UNUSED(paramList); |
25 | return new QWaylandXdgShellIntegration(); |
26 | } |
27 | |
28 | } |
29 | |
30 | QT_END_NAMESPACE |
31 | |
32 | #include "main.moc" |
33 |