KWayland

filtered_display.h
1 /*
2  SPDX-FileCopyrightText: 2017 David Edmundson <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 
7 #ifndef KWAYLAND_SERVER_FILTERED_DISPLAY_H
8 #define KWAYLAND_SERVER_FILTERED_DISPLAY_H
9 
10 #include "global.h"
11 #include "display.h"
12 
13 #include <KWayland/Server/kwaylandserver_export.h>
14 
15 namespace KWayland
16 {
17 namespace Server
18 {
19 
27 class KWAYLANDSERVER_EXPORT FilteredDisplay : public Display
28 {
29  Q_OBJECT
30 public:
31  FilteredDisplay(QObject *parent);
32  ~FilteredDisplay();
33 
42  virtual bool allowInterface(ClientConnection *client, const QByteArray &interfaceName) = 0;
43 private:
44  class Private;
46 };
47 
48 }
49 }
50 
51 #endif
Server Implementation that allows one to restrict which globals are available to which clients...
Class holding the Wayland server display loop.
Definition: display.h:89
Convenient Class which represents a wl_client.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Aug 7 2020 22:48:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.