Mir
Loading...
Searching...
No Matches
Globals Class Reference

#include <wayland_helpers.h>

Public Member Functions

 Globals (std::function< void(Output const &)> on_new_output, std::function< void(Output const &)> on_output_changed, std::function< void(Output const &)> on_output_gone)
void init (struct wl_display *display)
void teardown ()

Public Attributes

wl_compositor * compositor = nullptr
wl_shm * shm = nullptr
wl_seat * seat = nullptr
wl_shell * shell = nullptr

Constructor & Destructor Documentation

◆ Globals()

Globals::Globals ( std::function< void(Output const &)> on_new_output,
std::function< void(Output const &)> on_output_changed,
std::function< void(Output const &)> on_output_gone )

Member Function Documentation

◆ init()

void Globals::init ( struct wl_display * display)

◆ teardown()

void Globals::teardown ( )

Member Data Documentation

◆ compositor

wl_compositor* Globals::compositor = nullptr

◆ seat

wl_seat* Globals::seat = nullptr

◆ shell

wl_shell* Globals::shell = nullptr

◆ shm

wl_shm* Globals::shm = nullptr

The documentation for this class was generated from the following files:

Copyright © 2012-2026 Canonical Ltd.
Generated on Sun Mar 15 06:10:58 UTC 2026
This documentation is licensed under the GPL version 2 or 3.