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

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