File indexing completed on 2024-02-25 17:24:07

0001 /*
0002     SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
0003 
0004     SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include "waylandshellintegration.h"
0010 
0011 namespace KWaylandServer
0012 {
0013 class XdgToplevelInterface;
0014 class XdgPopupInterface;
0015 }
0016 
0017 namespace KWin
0018 {
0019 
0020 class XdgShellIntegration : public WaylandShellIntegration
0021 {
0022     Q_OBJECT
0023 
0024 public:
0025     explicit XdgShellIntegration(QObject *parent = nullptr);
0026 
0027 private:
0028     void registerXdgToplevel(KWaylandServer::XdgToplevelInterface *toplevel);
0029     void registerXdgPopup(KWaylandServer::XdgPopupInterface *popup);
0030     void createXdgToplevelWindow(KWaylandServer::XdgToplevelInterface *surface);
0031 };
0032 
0033 } // namespace KWin