File indexing completed on 2024-09-15 10:36:39
0001 /* 0002 * SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@blue-systems.com> 0003 * SPDX-FileCopyrightText: 2018 Drew DeVault <sir@cmpwn.com> 0004 * 0005 * SPDX-License-Identifier: LGPL-3.0-or-later 0006 */ 0007 0008 #ifndef _LAYERSHELL_H 0009 #define _LAYERSHELL_H 0010 0011 #include <wayland-client.h> 0012 0013 #include <QtWaylandClient/private/qwaylandshellintegration_p.h> 0014 #include <qwayland-wlr-layer-shell-unstable-v1.h> 0015 0016 #include "qwaylandlayersurface_p.h" 0017 0018 namespace LayerShellQt 0019 { 0020 class LAYERSHELLQT_EXPORT QWaylandLayerShell : public QtWayland::zwlr_layer_shell_v1 0021 { 0022 public: 0023 QWaylandLayerShell(::wl_registry *registry, uint32_t id, uint32_t version); 0024 ~QWaylandLayerShell() override; 0025 0026 QWaylandLayerSurface *createLayerSurface(QtWaylandClient::QWaylandWindow *window); 0027 // TODO: Popups 0028 }; 0029 0030 } 0031 0032 #endif