File indexing completed on 2024-05-19 16:35:19

0001 /*
0002     SPDX-FileCopyrightText: 2022 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
0003 
0004     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0005 */
0006 
0007 #pragma once
0008 
0009 #include "kwin_export.h"
0010 
0011 #include <QObject>
0012 
0013 #include <memory>
0014 
0015 struct wl_resource;
0016 
0017 namespace KWaylandServer
0018 {
0019 
0020 class Display;
0021 class IdleNotifyV1InterfacePrivate;
0022 
0023 class KWIN_EXPORT IdleNotifyV1Interface : public QObject
0024 {
0025     Q_OBJECT
0026 
0027 public:
0028     explicit IdleNotifyV1Interface(Display *display, QObject *parent = nullptr);
0029     ~IdleNotifyV1Interface() override;
0030 
0031 private:
0032     std::unique_ptr<IdleNotifyV1InterfacePrivate> d;
0033 };
0034 
0035 }