1 | // Copyright (C) 2017 ITAGE Corporation, author: <yusuke.binsaki@itage.co.jp> |
---|---|
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 <QtWaylandClient/private/qwaylandshellintegrationplugin_p.h> |
5 | #include "qwaylandivishellintegration.h" |
6 | |
7 | QT_BEGIN_NAMESPACE |
8 | |
9 | namespace QtWaylandClient { |
10 | |
11 | class QWaylandIviShellIntegrationPlugin : public QWaylandShellIntegrationPlugin |
12 | { |
13 | Q_OBJECT |
14 | Q_PLUGIN_METADATA(IID QWaylandShellIntegrationFactoryInterface_iid FILE "ivi-shell.json") |
15 | |
16 | public: |
17 | QWaylandShellIntegration *create(const QString &key, const QStringList ¶mList) override; |
18 | }; |
19 | |
20 | QWaylandShellIntegration *QWaylandIviShellIntegrationPlugin::create(const QString &key, const QStringList ¶mList) |
21 | { |
22 | Q_UNUSED(key); |
23 | Q_UNUSED(paramList); |
24 | return new QWaylandIviShellIntegration(); |
25 | } |
26 | |
27 | } |
28 | |
29 | QT_END_NAMESPACE |
30 | |
31 | #include "main.moc" |
32 |