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::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-2020 Canonical Ltd.
Generated on Mon Feb 17 22:14:21 UTC 2020
This documentation is licensed under the GPL version 2 or 3.