KWin
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
filtered_display.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2017 David Edmundson <davidedmundson@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 "display.h"
10
11namespace KWin
12{
13class FilteredDisplayPrivate;
14
20class KWIN_EXPORT FilteredDisplay : public Display
21{
22 Q_OBJECT
23public:
24 FilteredDisplay(QObject *parent);
25 ~FilteredDisplay() override;
26
35 virtual bool allowInterface(ClientConnection *client, const QByteArray &interfaceName) = 0;
36
37private:
38 std::unique_ptr<FilteredDisplayPrivate> d;
39};
40
41}
Convenient Class which represents a wl_client.
Class holding the Wayland server display loop.
Definition display.h:34
virtual bool allowInterface(ClientConnection *client, const QByteArray &interfaceName)=0