KWayland

compositor_interface.h
1 /*
2  SPDX-FileCopyrightText: 2014 Martin Gräßlin <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5 */
6 #ifndef WAYLAND_SERVER_COMPOSITOR_INTERFACE_H
7 #define WAYLAND_SERVER_COMPOSITOR_INTERFACE_H
8 
9 #include "global.h"
10 #include "region_interface.h"
11 #include "surface_interface.h"
12 
13 #include <QObject>
14 
15 #include <KWayland/Server/kwaylandserver_export.h>
16 
17 namespace KWayland
18 {
19 namespace Server
20 {
21 
22 class Display;
23 class SurfaceInterface;
24 
29 class KWAYLANDSERVER_EXPORT CompositorInterface : public Global
30 {
31  Q_OBJECT
32 public:
33  virtual ~CompositorInterface();
34 
35 Q_SIGNALS:
39  void surfaceCreated(KWayland::Server::SurfaceInterface*);
43  void regionCreated(KWayland::Server::RegionInterface*);
44 
45 private:
46  explicit CompositorInterface(Display *display, QObject *parent = nullptr);
47  friend class Display;
48  class Private;
49 };
50 
51 }
52 }
53 
54 #endif
Resource for the wl_region.
Resource representing a wl_surface.
Class holding the Wayland server display loop.
Definition: display.h:89
Represents the Global for wl_compositor interface.
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 Wed Aug 12 2020 22:50:22 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.