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
9QT_BEGIN_NAMESPACE
10
11namespace QtWaylandClient {
12
13class QWaylandWlShellIntegrationPlugin : public QWaylandShellIntegrationPlugin
14{
15 Q_OBJECT
16 Q_PLUGIN_METADATA(IID QWaylandShellIntegrationFactoryInterface_iid FILE "wl-shell.json")
17
18public:
19 QWaylandShellIntegration *create(const QString &key, const QStringList &paramList) override;
20};
21
22QWaylandShellIntegration *QWaylandWlShellIntegrationPlugin::create(const QString &key, const QStringList &paramList)
23{
24 Q_UNUSED(key);
25 Q_UNUSED(paramList);
26 return new QWaylandWlShellIntegration();
27}
28
29}
30
31QT_END_NAMESPACE
32
33#include "main.moc"
34

source code of qtwayland/src/plugins/shellintegration/wl-shell/main.cpp