File indexing completed on 2024-05-05 16:19:57

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 
0007 #include "plugin.h"
0008 #include "kwindoweffects_x11.h"
0009 #include "kwindowinfo_p_x11.h"
0010 #include "kwindowshadow_p_x11.h"
0011 #include "kwindowsystem_p_x11.h"
0012 
0013 X11Plugin::X11Plugin(QObject *parent)
0014     : KWindowSystemPluginInterface(parent)
0015 {
0016 }
0017 
0018 X11Plugin::~X11Plugin()
0019 {
0020 }
0021 
0022 KWindowEffectsPrivate *X11Plugin::createEffects()
0023 {
0024     return new KWindowEffectsPrivateX11();
0025 }
0026 
0027 KWindowSystemPrivate *X11Plugin::createWindowSystem()
0028 {
0029     return new KWindowSystemPrivateX11();
0030 }
0031 
0032 KWindowInfoPrivate *X11Plugin::createWindowInfo(WId window, NET::Properties properties, NET::Properties2 properties2)
0033 {
0034     return new KWindowInfoPrivateX11(window, properties, properties2);
0035 }
0036 
0037 KWindowShadowPrivate *X11Plugin::createWindowShadow()
0038 {
0039     return new KWindowShadowPrivateX11();
0040 }
0041 
0042 KWindowShadowTilePrivate *X11Plugin::createWindowShadowTile()
0043 {
0044     return new KWindowShadowTilePrivateX11();
0045 }
0046 
0047 #include "moc_plugin.cpp"