KWayland

idleinhibit_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 #ifndef KWAYLAND_SERVER_IDLEINHIBIT_INTERFACE_H
7 #define KWAYLAND_SERVER_IDLEINHIBIT_INTERFACE_H
8 
9 #include "global.h"
10 #include "resource.h"
11 
12 #include <KWayland/Server/kwaylandserver_export.h>
13 
14 namespace KWayland
15 {
16 namespace Server
17 {
18 
19 class Display;
20 
31 };
32 
40 class KWAYLANDSERVER_EXPORT IdleInhibitManagerInterface : public Global
41 {
42  Q_OBJECT
43 public:
44  virtual ~IdleInhibitManagerInterface();
45 
49  IdleInhibitManagerInterfaceVersion interfaceVersion() const;
50 
51 protected:
52  class Private;
53  explicit IdleInhibitManagerInterface(Private *d, QObject *parent = nullptr);
54 
55 private:
56  Private *d_func() const;
57 };
58 
59 
60 }
61 }
62 
63 #endif
The IdleInhibitorManagerInterface is used by clients to inhibit idle on a SurfaceInterface.
Base class for all Globals.
Definition: global.h:46
IdleInhibitManagerInterfaceVersion
Enum describing the interface versions the IdleInhibitManagerInterface can support.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Aug 12 2020 22:50:22 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.