SDL
2.0
|
#include <wayland-client-protocol.h>
Data Fields | |
void(* | global )(void *data, struct wl_registry *wl_registry, uint32_t name, const char *interface, uint32_t version) |
void(* | global_remove )(void *data, struct wl_registry *wl_registry, uint32_t name) |
Definition at line 988 of file wayland-client-protocol.h.
void(* wl_registry_listener::global) (void *data, struct wl_registry *wl_registry, uint32_t name, const char *interface, uint32_t version) |
announce global object
Notify the client of global objects.
The event notifies the client that a global object with the given name is now available, and it implements the given version of the given interface.
name | numeric name of the global object |
interface | interface implemented by the object |
version | interface version |
Definition at line 1001 of file wayland-client-protocol.h.
void(* wl_registry_listener::global_remove) (void *data, struct wl_registry *wl_registry, uint32_t name) |
announce removal of global object
Notify the client of removed global objects.
This event notifies the client that the global identified by name is no longer available. If the client bound to the global using the bind request, the client should now destroy that object.
The object remains valid and requests to the object will be ignored until the client destroys it, to avoid races between the global going away and a client sending a request to it.
name | numeric name of the global object |
Definition at line 1021 of file wayland-client-protocol.h.