KWin
Loading...
Searching...
No Matches
idlenotify_v1.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2022 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#pragma once
8
9#include "kwin_export.h"
10
11#include <QObject>
12
13#include <memory>
14
15struct wl_resource;
16
17namespace KWin
18{
19
20class Display;
21class IdleNotifyV1InterfacePrivate;
22
23class KWIN_EXPORT IdleNotifyV1Interface : public QObject
24{
25 Q_OBJECT
26
27public:
28 explicit IdleNotifyV1Interface(Display *display, QObject *parent = nullptr);
29 ~IdleNotifyV1Interface() override;
30
31private:
32 std::unique_ptr<IdleNotifyV1InterfacePrivate> d;
33};
34
35}
Class holding the Wayland server display loop.
Definition display.h:34
struct _XDisplay Display