Wayland++ 1.0.0
C++ Bindings for Wayland
|
#include <wayland-server.hpp>
Public Member Functions | |
global_t (display_t &display, unsigned int version=resource::max_version) | |
std::function< void(client_t, resource)> & | on_bind () |
template<typename resource > | |
bool | has_interface () |
Global object.
resource | Resource class whose interface shall be used |
Definition at line 624 of file wayland-server.hpp.
|
inline |
Create a global object
display | Parent display object |
version | Interface version |
Definition at line 649 of file wayland-server.hpp.
|
inlineinherited |
Check for specific interface.
resource | Resource class for comparison |
Definition at line 613 of file wayland-server.hpp.
|
inline |
Adds a listener for the bind signal.
When a client binds to a global object, registered listeners will be notified, carrying the client_t object and the new resource_t object.
Definition at line 660 of file wayland-server.hpp.