1/*
2 SPDX-FileCopyrightText: 2014 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 KWINDOWSYSTEM_P_H
7#define KWINDOWSYSTEM_P_H
8
9#include "netwm_def.h"
10#include <QStringList>
11#include <QWidgetList> //For WId
12#include <kwindowsystem_export.h>
13
14class NETWinInfo;
15
16class KWINDOWSYSTEM_EXPORT KWindowSystemPrivate : public NET
17{
18public:
19 virtual ~KWindowSystemPrivate();
20 virtual void activateWindow(QWindow *win, long time = 0) = 0;
21 virtual bool showingDesktop() = 0;
22 virtual void setShowingDesktop(bool showing) = 0;
23};
24
25class KWINDOWSYSTEM_EXPORT KWindowSystemPrivateV2 : public KWindowSystemPrivate
26{
27public:
28 virtual void requestToken(QWindow *win, uint32_t serial, const QString &app_id) = 0;
29 virtual void setCurrentToken(const QString &token) = 0;
30 virtual quint32 lastInputSerial(QWindow *window) = 0;
31 virtual void setMainWindow(QWindow *window, const QString &handle) = 0;
32 virtual void exportWindow(QWindow *window) = 0;
33 virtual void unexportWindow(QWindow *window) = 0;
34};
35
36#endif
37

source code of kwindowsystem/src/kwindowsystem_p.h