2 * Copyright (C) 2017-2018 Team Kodi
3 * This file is part of Kodi - https://kodi.tv
5 * SPDX-License-Identifier: GPL-2.0-or-later
6 * See LICENSES/README.md for more information.
13 #include <wayland-client-protocol.hpp>
23 * Handler for reacting to events originating in window decorations, such as
24 * moving the window by clicking and dragging
26 class IWindowDecorationHandler
29 virtual void OnWindowMove(wayland::seat_t
const& seat
, std::uint32_t serial
) = 0;
30 virtual void OnWindowResize(wayland::seat_t
const& seat
, std::uint32_t serial
, wayland::shell_surface_resize edge
) = 0;
31 virtual void OnWindowShowContextMenu(wayland::seat_t
const& seat
, std::uint32_t serial
, CPointInt position
) = 0;
32 virtual void OnWindowMinimize() = 0;
33 virtual void OnWindowMaximize() = 0;
34 virtual void OnWindowClose() = 0;
36 virtual ~IWindowDecorationHandler() = default;