Mir
Public Member Functions | Public Attributes | List of all members
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 ( 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

void Globals::init ( struct wl_display *  display)
void Globals::teardown ( )

Member Data Documentation

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

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

Copyright © 2012-2022 Canonical Ltd.
Generated on Tue Feb 1 20:51:23 UTC 2022
This documentation is licensed under the GPL version 2 or 3.