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
12class KWindowEffectsPrivate;
13class KWindowShadowPrivate;
14class KWindowShadowTilePrivate;
15class KWindowSystemPluginInterface;
16class KWindowSystemPrivate;
17
18class KWindowSystemPluginWrapper
19{
20public:
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
30private:
31 std::unique_ptr<KWindowSystemPluginInterface> m_plugin;
32 std::unique_ptr<KWindowEffectsPrivate> m_effects;
33};
34
35#endif
36

source code of kwindowsystem/src/pluginwrapper_p.h