34 lines
770 B
C
34 lines
770 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 <qwayland-wlr-layer-shell-unstable-v1.h>
|
||
|
#include <QtWaylandClient/private/qwaylandshellintegration_p.h>
|
||
|
|
||
|
#include "qwaylandlayersurface_p.h"
|
||
|
|
||
|
namespace LayerShellQt {
|
||
|
|
||
|
class QWaylandLayerShell : public QtWayland::zwlr_layer_shell_v1
|
||
|
{
|
||
|
public:
|
||
|
QWaylandLayerShell(struct QtWayland::zwlr_layer_shell_v1 *shell);
|
||
|
virtual ~QWaylandLayerShell();
|
||
|
|
||
|
QWaylandLayerSurface *createLayerSurface(
|
||
|
QtWaylandClient::QWaylandWindow *window);
|
||
|
// TODO: Popups
|
||
|
};
|
||
|
|
||
|
}
|
||
|
|
||
|
#endif
|