Class WaylandApp

Class Documentation

class WaylandApp

Public Functions

WaylandApp()
WaylandApp(wl_display *display)
virtual ~WaylandApp() = default
void wayland_init(wl_display *display)

Needs to be two-step initialized to virtual methods are called.

void roundtrip() const
inline auto display() const -> wl_display*
inline auto compositor() const -> wl_compositor*
inline auto shm() const -> wl_shm*
inline auto seat() const -> wl_seat*
inline auto shell() const -> wl_shell*

Protected Functions

inline virtual void output_ready(WaylandOutput const*)
inline virtual void output_changed(WaylandOutput const*)
inline virtual void output_gone(WaylandOutput const*)

Protected Attributes

friend WaylandOutput