1/*
2 SPDX-FileCopyrightText: 2015 Martin Gräßlin <mgraesslin@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6#ifndef KWINDOWSYSTEM_KWAYLAND_PLUGIN_H
7#define KWINDOWSYSTEM_KWAYLAND_PLUGIN_H
8
9#include "kwindowsystemplugininterface_p.h"
10
11class KWaylandPlugin : public KWindowSystemPluginInterface
12{
13 Q_OBJECT
14 Q_PLUGIN_METADATA(IID "org.kde.kwindowsystem.KWindowSystemPluginInterface" FILE "wayland.json")
15 Q_INTERFACES(KWindowSystemPluginInterface)
16
17public:
18 explicit KWaylandPlugin(QObject *parent = nullptr);
19 ~KWaylandPlugin() override;
20
21 KWindowEffectsPrivate *createEffects() override;
22 KWindowSystemPrivate *createWindowSystem() override;
23 KWindowShadowTilePrivate *createWindowShadowTile() override;
24 KWindowShadowPrivate *createWindowShadow() override;
25};
26
27#endif
28

source code of kwindowsystem/src/platforms/wayland/plugin.h