1 | // Copyright (C) 2018 The Qt Company Ltd. |
---|---|
2 | // Copyright (C) 2017 ITAGE Corporation, author: <yusuke.binsaki@itage.co.jp> |
3 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
4 | |
5 | #include "qwaylandwlshellintegration_p.h" |
6 | |
7 | #include <QtWaylandClient/private/qwaylandshellintegrationplugin_p.h> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | namespace QtWaylandClient { |
12 | |
13 | class QWaylandWlShellIntegrationPlugin : public QWaylandShellIntegrationPlugin |
14 | { |
15 | Q_OBJECT |
16 | Q_PLUGIN_METADATA(IID QWaylandShellIntegrationFactoryInterface_iid FILE "wl-shell.json") |
17 | |
18 | public: |
19 | QWaylandShellIntegration *create(const QString &key, const QStringList ¶mList) override; |
20 | }; |
21 | |
22 | QWaylandShellIntegration *QWaylandWlShellIntegrationPlugin::create(const QString &key, const QStringList ¶mList) |
23 | { |
24 | Q_UNUSED(key); |
25 | Q_UNUSED(paramList); |
26 | return new QWaylandWlShellIntegration(); |
27 | } |
28 | |
29 | } |
30 | |
31 | QT_END_NAMESPACE |
32 | |
33 | #include "main.moc" |
34 |