kwin/src/wayland/idleinhibit_v1_interface.h
Vlad Zahorodnii bdb138bdcd Remove @since version tags
Currently, we have a mix of Frameworks versions and Plasma versions in
@since tags, which leads to some confusion. Since this is an unstable
library, one cannot rely on since version tags, we are free to add,
change, and remove apis to serve best to kwin requirements. Thus, we can
simply remove all since version tags to fix mixing up different product
versions.
2021-03-16 10:08:21 +02:00

37 lines
882 B
C++

/*
SPDX-FileCopyrightText: 2017 Martin Flöser <mgraesslin@kde.org>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#pragma once
#include <QObject>
#include <KWaylandServer/kwaylandserver_export.h>
struct wl_resource;
namespace KWaylandServer
{
class Display;
class IdleInhibitManagerV1InterfacePrivate;
/**
* The IdleInhibitorManagerInterface is used by clients to inhibit idle on a
* SurfaceInterface. Whether a SurfaceInterface inhibits idle is exposes through
* @link{SurfaceInterface::inhibitsIdle}.
**/
class KWAYLANDSERVER_EXPORT IdleInhibitManagerV1Interface : public QObject
{
Q_OBJECT
public:
explicit IdleInhibitManagerV1Interface(Display *display, QObject *parent = nullptr);
~IdleInhibitManagerV1Interface() override;
private:
QScopedPointer<IdleInhibitManagerV1InterfacePrivate> d;
};
}