| 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 PLUGINWRAPPER_P_H |
| 7 | #define PLUGINWRAPPER_P_H |
| 8 | |
| 9 | #include <QWidgetList> //For WId |
| 10 | #include <memory> |
| 11 | |
| 12 | class KWindowEffectsPrivate; |
| 13 | class KWindowShadowPrivate; |
| 14 | class KWindowShadowTilePrivate; |
| 15 | class KWindowSystemPluginInterface; |
| 16 | class KWindowSystemPrivate; |
| 17 | |
| 18 | class KWindowSystemPluginWrapper |
| 19 | { |
| 20 | public: |
| 21 | KWindowSystemPluginWrapper(); |
| 22 | ~KWindowSystemPluginWrapper(); |
| 23 | static const KWindowSystemPluginWrapper &self(); |
| 24 | |
| 25 | KWindowEffectsPrivate *effects() const; |
| 26 | KWindowSystemPrivate *createWindowSystem() const; |
| 27 | KWindowShadowPrivate *createWindowShadow() const; |
| 28 | KWindowShadowTilePrivate *createWindowShadowTile() const; |
| 29 | |
| 30 | private: |
| 31 | std::unique_ptr<KWindowSystemPluginInterface> m_plugin; |
| 32 | std::unique_ptr<KWindowEffectsPrivate> m_effects; |
| 33 | }; |
| 34 | |
| 35 | #endif |
| 36 |
