Wayland pointer wrapper class. More...
#include <kanzi/core.ui/platform/input_ng/wayland/wayland_pointer.hpp>
Public Member Functions | |
WaylandPointer (const WaylandSeat &seat) noexcept | |
Constructor. | |
WaylandPointer (wl_pointer *nativeHandle) noexcept | |
Constructor. | |
Public Member Functions inherited from kanzi::wayland::WaylandInterface< WaylandPointer, wl_pointer, wl_pointer_listener > | |
bool | addListener (enable_if_t<!is_same< L, void >::value, const L & > listener, void *data) const noexcept |
Adds a listener to Wayland object. | |
KZ_NO_DISCARD unsigned int | askVersion () const noexcept |
Requests compositor which interface version we use. | |
KZ_NO_DISCARD wl_pointer * | getNativeHandle () const noexcept |
Gets the underlying native handle. | |
Static Public Attributes | |
static constexpr auto | s_capabilityBit |
Generic alias to query for corresponding capability bit. | |
static const wl_interface | s_nativeInterface |
Represents the underlying native interface. | |
Additional Inherited Members | |
Public Types inherited from kanzi::wayland::WaylandInterface< WaylandPointer, wl_pointer, wl_pointer_listener > | |
using | ListenerType |
Generic alias to query for appropriate listener type. | |
Static Public Member Functions inherited from kanzi::wayland::WaylandInterface< WaylandPointer, wl_pointer, wl_pointer_listener > | |
static KZ_NO_DISCARD unsigned int | askVersion (wl_pointer *handle) noexcept |
Requests compositor which interface version we use. | |
Wayland pointer wrapper class.
|
explicitnoexcept |
Constructor.
nativeHandle | Native Wayland handle. |
|
explicitnoexcept |
Constructor.
Constructs a WaylandPointer object for a given Wayland seat.
seat | WaylandSeat used to query for pointer. |
Generic alias to query for corresponding capability bit.
|
static |
Represents the underlying native interface.