/**************************************************************************** ** ** Copyright (C) 2018 Pier Luigi Fiorini ** Contact: http://www.qt-project.org/legal ** ** This file is part of the plugins of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:COMM$ ** ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and The Qt Company. For licensing terms ** and conditions see https://www.qt.io/terms-conditions. For further ** information use the contact form at https://www.qt.io/contact-us. ** ** $QT_END_LICENSE$ ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ****************************************************************************/ #include #include "qwaylandfullscreenshellv1integration.h" QT_BEGIN_NAMESPACE namespace QtWaylandClient { class QWaylandFullScreenShellV1IntegrationPlugin : public QWaylandShellIntegrationPlugin { Q_OBJECT Q_PLUGIN_METADATA(IID QWaylandShellIntegrationFactoryInterface_iid FILE "fullscreen-shell-v1.json") public: QWaylandShellIntegration *create(const QString &key, const QStringList ¶mList) override; }; QWaylandShellIntegration *QWaylandFullScreenShellV1IntegrationPlugin::create(const QString &key, const QStringList ¶mList) { Q_UNUSED(paramList); if (key == QLatin1String("fullscreen-shell-v1")) return new QWaylandFullScreenShellV1Integration(); return nullptr; } } // namespace QtWaylandClient QT_END_NAMESPACE #include "main.moc"