File indexing completed on 2024-12-08 04:58:34

0001 /*
0002  *   SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
0003  *   SPDX-FileCopyrightText: 2018 Drew DeVault <sir@cmpwn.com>
0004  *
0005  *   SPDX-License-Identifier: LGPL-3.0-or-later
0006  */
0007 
0008 #include "qwaylandlayershellintegration_p.h"
0009 #include <QtWaylandClient/private/qwaylandshellintegrationplugin_p.h>
0010 
0011 using namespace LayerShellQt;
0012 
0013 class QWaylandLayerShellIntegrationPlugin : public QtWaylandClient::QWaylandShellIntegrationPlugin
0014 {
0015     Q_OBJECT
0016     Q_PLUGIN_METADATA(IID QWaylandShellIntegrationFactoryInterface_iid FILE "layer-shell.json")
0017 
0018 public:
0019     QWaylandLayerShellIntegrationPlugin()
0020     {
0021     }
0022 
0023     QtWaylandClient::QWaylandShellIntegration *create(const QString &key, const QStringList &paramList) override
0024     {
0025         Q_UNUSED(key);
0026         Q_UNUSED(paramList);
0027         return new QWaylandLayerShellIntegration();
0028     }
0029 };
0030 
0031 // Q_IMPORT_PLUGIN(QWaylandLayerShellIntegrationPlugin);
0032 
0033 #include "qwaylandlayershellintegrationplugin.moc"