KWin
Loading...
Searching...
No Matches
lockscreen_overlay_v1.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2022 Aleix Pol Gonzalez <aleixpol@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#pragma once
8
9#include "kwin_export.h"
10
11#include <QList>
12#include <QObject>
13#include <functional>
14#include <memory>
15#include <optional>
16
17struct wl_resource;
18
19namespace KWin
20{
21class Display;
22class SurfaceInterface;
23
24class LockscreenOverlayV1InterfacePrivate;
25
26class KWIN_EXPORT LockscreenOverlayV1Interface : public QObject
27{
28 Q_OBJECT
29 Q_DISABLE_COPY(LockscreenOverlayV1Interface)
30public:
31 explicit LockscreenOverlayV1Interface(Display *display, QObject *parent = nullptr);
33
34Q_SIGNALS:
37
38private:
41 std::unique_ptr<LockscreenOverlayV1InterfacePrivate> d;
42};
43
44}
Class holding the Wayland server display loop.
Definition display.h:34
void allowRequested(SurfaceInterface *surface)
Notifies about the surface being activated.
Resource representing a wl_surface.
Definition surface.h:80
struct _XDisplay Display