File indexing completed on 2024-05-12 17:00:18

0001 /*
0002     SPDX-FileCopyrightText: 2015 Martin Gräßlin <mgraesslin@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 #include "plugin.h"
0007 #include "windoweffects.h"
0008 #include "windowinfo.h"
0009 #include "windowshadow.h"
0010 #include "windowsystem.h"
0011 
0012 KWaylandPlugin::KWaylandPlugin(QObject *parent)
0013     : KWindowSystemPluginInterface(parent)
0014 {
0015 }
0016 
0017 KWaylandPlugin::~KWaylandPlugin()
0018 {
0019 }
0020 
0021 KWindowEffectsPrivate *KWaylandPlugin::createEffects()
0022 {
0023     return new WindowEffects();
0024 }
0025 
0026 KWindowSystemPrivate *KWaylandPlugin::createWindowSystem()
0027 {
0028     return new WindowSystem();
0029 }
0030 
0031 KWindowInfoPrivate *KWaylandPlugin::createWindowInfo(WId window, NET::Properties properties, NET::Properties2 properties2)
0032 {
0033     return new WindowInfo(window, properties, properties2);
0034 }
0035 
0036 KWindowShadowTilePrivate *KWaylandPlugin::createWindowShadowTile()
0037 {
0038     return new WindowShadowTile();
0039 }
0040 
0041 KWindowShadowPrivate *KWaylandPlugin::createWindowShadow()
0042 {
0043     return new WindowShadow();
0044 }