KWin
Loading...
Searching...
No Matches
xdgdecoration_v1_p.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2020 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
3
4 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
5*/
6
7#pragma once
8
9#include "xdgdecoration_v1.h"
10
11#include "qwayland-server-xdg-decoration-unstable-v1.h"
12
13namespace KWin
14{
15class XdgDecorationManagerV1InterfacePrivate : public QtWaylandServer::zxdg_decoration_manager_v1
16{
17public:
19
21
22protected:
23 void zxdg_decoration_manager_v1_destroy(Resource *resource) override;
24 void zxdg_decoration_manager_v1_get_toplevel_decoration(Resource *resource, uint32_t id, ::wl_resource *toplevel) override;
25};
26
27class XdgToplevelDecorationV1InterfacePrivate : public QtWaylandServer::zxdg_toplevel_decoration_v1
28{
29public:
31
35
36protected:
37 void zxdg_toplevel_decoration_v1_destroy_resource(Resource *resource) override;
38 void zxdg_toplevel_decoration_v1_destroy(Resource *resource) override;
39 void zxdg_toplevel_decoration_v1_set_mode(Resource *resource, uint32_t mode) override;
40 void zxdg_toplevel_decoration_v1_unset_mode(Resource *resource) override;
41};
42
43} // namespace KWin
XdgDecorationManagerV1InterfacePrivate(XdgDecorationManagerV1Interface *manager)
void zxdg_decoration_manager_v1_get_toplevel_decoration(Resource *resource, uint32_t id, ::wl_resource *toplevel) override
void zxdg_decoration_manager_v1_destroy(Resource *resource) override
void zxdg_toplevel_decoration_v1_set_mode(Resource *resource, uint32_t mode) override
XdgToplevelDecorationV1Interface::Mode preferredMode
XdgToplevelDecorationV1InterfacePrivate(XdgToplevelDecorationV1Interface *decoration)
void zxdg_toplevel_decoration_v1_destroy(Resource *resource) override
void zxdg_toplevel_decoration_v1_unset_mode(Resource *resource) override
void zxdg_toplevel_decoration_v1_destroy_resource(Resource *resource) override