KWayland

eglstream_controller_interface.h
1 /*
2  SPDX-FileCopyrightText: 2019 NVIDIA Inc.
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 #ifndef WAYLAND_SERVER_EGLSTREAM_CONTROLLER_INTERFACE_H
7 #define WAYLAND_SERVER_EGLSTREAM_CONTROLLER_INTERFACE_H
8 
9 #include "global.h"
10 #include "surface_interface.h"
11 
12 #include <KWayland/Server/kwaylandserver_export.h>
13 #include <wayland-util.h>
14 #include <QObject>
15 
16 namespace KWayland
17 {
18 namespace Server
19 {
20 
21 class Display;
22 
31 class KWAYLANDSERVER_EXPORT EglStreamControllerInterface : public Global
32 {
33  Q_OBJECT
34 public:
35  ~EglStreamControllerInterface() override;
36  void create();
37 
38 Q_SIGNALS:
42  void streamConsumerAttached(SurfaceInterface *surface, void *eglStream, wl_array *attribs);
43 private:
44  explicit EglStreamControllerInterface(Display *display, QObject *parent = nullptr);
45 
46  class Private;
47  friend class Display;
48 };
49 
50 }
51 }
52 
53 #endif
Represents the Global for the wl_eglstream_controller interface.
Resource representing a wl_surface.
Class holding the Wayland server display loop.
Definition: display.h:89
Base class for all Globals.
Definition: global.h:46
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.