kodi
SeatWebOS.h
1 /*
2 * Copyright (C) 2024 Team Kodi
3  * This file is part of Kodi - https://kodi.tv
4  *
5  * SPDX-License-Identifier: GPL-2.0-or-later
6  * See LICENSES/README.md for more information.
7  */
8 
9 #pragma once
10 
11 #include "Seat.h"
12 
14 {
15 
16 class CSeatWebOS final : public CSeat
17 {
18 public:
19  CSeatWebOS(std::uint32_t globalName, wayland::seat_t const& seat, CConnection& connection)
20  : CSeat(globalName, seat, connection)
21  {
22  }
23 
24  void SetCursor(std::uint32_t serial,
25  wayland::surface_t const& surface,
26  std::int32_t hotspotX,
27  std::int32_t hotspotY) override;
28 
29 protected:
30  void InstallKeyboardRepeatInfo() override;
31 };
32 
33 } // namespace KODI::WINDOWING::WAYLAND
Connection to Wayland compositor.
Definition: Connection.h:25
Definition: SeatWebOS.h:16
CSeat(std::uint32_t globalName, wayland::seat_t const &seat, CConnection &connection)
Construct seat handler.
Definition: Seat.cpp:77
Definition: Connection.h:19
Handle all events and requests related to one seat (including input and selection) ...
Definition: Seat.h:114
void SetCursor(std::uint32_t serial, wayland::surface_t const &surface, std::int32_t hotspotX, std::int32_t hotspotY) override
Set the cursor of the pointer of this seat.
Definition: SeatWebOS.cpp:14