mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-05-28 02:50:21 -04:00
33 lines
787 B
C++
33 lines
787 B
C++
/*
|
|
* SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez <aleixpol@blue-systems.com>
|
|
* SPDX-FileCopyrightText: 2018 Drew DeVault <sir@cmpwn.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-3.0-or-later
|
|
*/
|
|
|
|
#ifndef _LAYERSHELL_H
|
|
#define _LAYERSHELL_H
|
|
|
|
#include <wayland-client.h>
|
|
|
|
#include <QtWaylandClient/private/qwaylandshellintegration_p.h>
|
|
#include <qwayland-wlr-layer-shell-unstable-v1.h>
|
|
|
|
#include "qwaylandlayersurface_p.h"
|
|
|
|
namespace LayerShellQt
|
|
{
|
|
class LAYERSHELLQT_EXPORT QWaylandLayerShell : public QtWayland::zwlr_layer_shell_v1
|
|
{
|
|
public:
|
|
QWaylandLayerShell(::wl_registry *registry, uint32_t id, uint32_t version);
|
|
~QWaylandLayerShell() override;
|
|
|
|
QWaylandLayerSurface *createLayerSurface(QtWaylandClient::QWaylandWindow *window);
|
|
// TODO: Popups
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|