KWin
Loading...
Searching...
No Matches
subsurfacemonitor.h
Go to the documentation of this file.
1/*
2 KWin - the KDE window manager
3 This file is part of the KDE project.
4
5 SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
6
7 SPDX-License-Identifier: GPL-2.0-or-later
8*/
9
10#pragma once
11
12#include <QObject>
13
14namespace KWin
15{
16class SurfaceInterface;
17class SubSurfaceInterface;
18}
19
20namespace KWin
21{
22
27class SubSurfaceMonitor : public QObject
28{
29 Q_OBJECT
30
31public:
35 SubSurfaceMonitor(SurfaceInterface *surface, QObject *parent);
36
37Q_SIGNALS:
67
68private:
69 void registerSubSurface(SubSurfaceInterface *subSurface);
70 void unregisterSubSurface(SubSurfaceInterface *subSurface);
71 void registerSurface(SurfaceInterface *surface);
72 void unregisterSurface(SurfaceInterface *surface);
73};
74
75} // namespace KWin
void subSurfaceCommitted(SubSurfaceInterface *subSurface)
SubSurfaceMonitor(SurfaceInterface *surface, QObject *parent)
Resource representing a wl_surface.
Definition surface.h:80