KWin
Loading...
Searching...
No Matches
idleinhibit_v1.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2017 Martin Flöser <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 IdleInhibitManagerV1InterfacePrivate;
18
24class KWIN_EXPORT IdleInhibitManagerV1Interface : public QObject
25{
26 Q_OBJECT
27
28public:
29 explicit IdleInhibitManagerV1Interface(Display *display, QObject *parent = nullptr);
31
32private:
33 std::unique_ptr<IdleInhibitManagerV1InterfacePrivate> d;
34};
35
36}
Class holding the Wayland server display loop.
Definition display.h:34
struct _XDisplay Display