KWin
Loading...
Searching...
No Matches
idle.h
Go to the documentation of this file.
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#pragma once
7
8#include "kwin_export.h"
9
10#include <QObject>
11
12struct wl_resource;
13
14namespace KWin
15{
16class Display;
17class IdleInterfacePrivate;
18
37class KWIN_EXPORT IdleInterface : public QObject
38{
39 Q_OBJECT
40
41public:
42 explicit IdleInterface(Display *display, QObject *parent = nullptr);
43 ~IdleInterface() override;
44
45private:
46 std::unique_ptr<IdleInterfacePrivate> d;
47};
48
49}
Class holding the Wayland server display loop.
Definition display.h:34
Global representing the org_kde_kwin_idle interface.
Definition idle.h:38
~IdleInterface() override
struct _XDisplay Display