/* * SPDX-FileCopyrightText: 2021 Aleix Pol Gonzalez * SPDX-FileCopyrightText: 2018 Drew DeVault * * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL */ #ifndef _LAYERSHELLINTEGRATION_P_H #define _LAYERSHELLINTEGRATION_P_H #include "layershellqt_export.h" #include #include class QWaylandXdgActivationV1; namespace LayerShellQt { class LAYERSHELLQT_EXPORT QWaylandLayerShellIntegration : public QtWaylandClient::QWaylandShellIntegrationTemplate, public QtWayland::zwlr_layer_shell_v1 { public: QWaylandLayerShellIntegration(); ~QWaylandLayerShellIntegration() override; QWaylandXdgActivationV1 *activation() const { return m_xdgActivation.data(); } QtWaylandClient::QWaylandShellSurface *createShellSurface(QtWaylandClient::QWaylandWindow *window) override; private: QScopedPointer m_xdgActivation; }; } #endif