KWaylandServer

idleinhibit_v1_interface.h
1 /*
2  SPDX-FileCopyrightText: 2017 Martin Flöser <[email protected]>
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 <QObject>
9 
10 #include <KWaylandServer/kwaylandserver_export.h>
11 
12 struct wl_resource;
13 
14 namespace KWaylandServer
15 {
16 class Display;
17 class IdleInhibitManagerV1InterfacePrivate;
18 
19 /**
20  * The IdleInhibitorManagerInterface is used by clients to inhibit idle on a
21  * SurfaceInterface. Whether a SurfaceInterface inhibits idle is exposes through
22  * @link{SurfaceInterface::inhibitsIdle}.
23  */
24 class KWAYLANDSERVER_EXPORT IdleInhibitManagerV1Interface : public QObject
25 {
26  Q_OBJECT
27 
28 public:
29  explicit IdleInhibitManagerV1Interface(Display *display, QObject *parent = nullptr);
31 
32 private:
34 };
35 
36 }
Class holding the Wayland server display loop.
Definition: display.h:47
The IdleInhibitorManagerInterface is used by clients to inhibit idle on a SurfaceInterface.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Oct 23 2021 23:08:27 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.