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 #ifndef KWINDOWSYSTEM_X11_PLUGIN_H 0007 #define KWINDOWSYSTEM_X11_PLUGIN_H 0008 0009 #include "kwindowsystemplugininterface_p.h" 0010 0011 class X11Plugin : public KWindowSystemPluginInterface 0012 { 0013 Q_OBJECT 0014 Q_PLUGIN_METADATA(IID "org.kde.kwindowsystem.KWindowSystemPluginInterface" FILE "xcb.json") 0015 Q_INTERFACES(KWindowSystemPluginInterface) 0016 0017 public: 0018 explicit X11Plugin(QObject *parent = nullptr); 0019 ~X11Plugin() override; 0020 0021 KWindowEffectsPrivate *createEffects() override; 0022 KWindowSystemPrivate *createWindowSystem() override; 0023 KWindowInfoPrivate *createWindowInfo(WId window, NET::Properties properties, NET::Properties2 properties2) override; 0024 KWindowShadowPrivate *createWindowShadow() override final; 0025 KWindowShadowTilePrivate *createWindowShadowTile() override final; 0026 }; 0027 0028 #endif