mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-02 09:01:39 -05:00
wayland-client: Add wl_proxy_get_listener
This is the mirror function to wl_proxy_add_listener and is useful inside client libraries to differentiate events on listeners for which multiple proxies have been created.
This commit is contained in:
parent
748c20c46f
commit
4ad58fbb4a
2 changed files with 20 additions and 0 deletions
|
|
@ -128,6 +128,7 @@ struct wl_proxy *wl_proxy_create(struct wl_proxy *factory,
|
|||
void wl_proxy_destroy(struct wl_proxy *proxy);
|
||||
int wl_proxy_add_listener(struct wl_proxy *proxy,
|
||||
void (**implementation)(void), void *data);
|
||||
const void *wl_proxy_get_listener(struct wl_proxy *proxy);
|
||||
void wl_proxy_set_user_data(struct wl_proxy *proxy, void *user_data);
|
||||
void *wl_proxy_get_user_data(struct wl_proxy *proxy);
|
||||
uint32_t wl_proxy_get_id(struct wl_proxy *proxy);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue