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

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