kwin/xdgshellintegration.h
Vlad Zahorodnii 7e9bec6fd7 Use consistent naming pattern for wayland shell integrations
This change intends to fix a minor inconsistency regarding how shell
integration classes are named.
2020-09-04 16:51:25 +03:00

33 lines
688 B
C++

/*
SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#pragma once
#include "waylandshellintegration.h"
namespace KWaylandServer
{
class XdgToplevelInterface;
class XdgPopupInterface;
}
namespace KWin
{
class XdgShellIntegration : public WaylandShellIntegration
{
Q_OBJECT
public:
explicit XdgShellIntegration(QObject *parent = nullptr);
private:
void registerXdgToplevel(KWaylandServer::XdgToplevelInterface *toplevel);
void registerXdgPopup(KWaylandServer::XdgPopupInterface *popup);
void createXdgToplevelClient(KWaylandServer::XdgToplevelInterface *surface);
};
} // namespace KWin