1 | // Copyright (C) 2019 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QWAYLANDIDLEINHIBITV1_H |
5 | #define QWAYLANDIDLEINHIBITV1_H |
6 | |
7 | #include <QtWaylandCompositor/QWaylandCompositorExtension> |
8 | |
9 | QT_BEGIN_NAMESPACE |
10 | |
11 | class QWaylandIdleInhibitManagerV1Private; |
12 | |
13 | class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandIdleInhibitManagerV1 : public QWaylandCompositorExtensionTemplate<QWaylandIdleInhibitManagerV1> |
14 | { |
15 | Q_OBJECT |
16 | Q_DECLARE_PRIVATE(QWaylandIdleInhibitManagerV1) |
17 | public: |
18 | QWaylandIdleInhibitManagerV1(); |
19 | explicit QWaylandIdleInhibitManagerV1(QWaylandCompositor *compositor); |
20 | ~QWaylandIdleInhibitManagerV1(); |
21 | |
22 | void initialize() override; |
23 | |
24 | static const struct wl_interface *interface(); |
25 | }; |
26 | |
27 | QT_END_NAMESPACE |
28 | |
29 | #endif // QWAYLANDIDLEINHIBITV1_H |
30 |