diff options
| author | Rob Bradford <rob@linux.intel.com> | 2013-07-22 17:30:52 +0100 |
|---|---|---|
| committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-08-12 16:26:36 -0700 |
| commit | 4ad58fbb4a8eaa1852326df6cf71ad6e60dd891f (patch) | |
| tree | e82d48dab653cc33368cacb48b019e1ccd1fc82e /src/wayland-client.h | |
| parent | wayland-server: Add a wl_resource_for_each macro (diff) | |
| download | wayland-4ad58fbb4a8eaa1852326df6cf71ad6e60dd891f.tar wayland-4ad58fbb4a8eaa1852326df6cf71ad6e60dd891f.tar.gz wayland-4ad58fbb4a8eaa1852326df6cf71ad6e60dd891f.tar.bz2 wayland-4ad58fbb4a8eaa1852326df6cf71ad6e60dd891f.tar.lz wayland-4ad58fbb4a8eaa1852326df6cf71ad6e60dd891f.tar.xz wayland-4ad58fbb4a8eaa1852326df6cf71ad6e60dd891f.tar.zst wayland-4ad58fbb4a8eaa1852326df6cf71ad6e60dd891f.zip | |
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.
Diffstat (limited to 'src/wayland-client.h')
| -rw-r--r-- | src/wayland-client.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wayland-client.h b/src/wayland-client.h index 216773a..32ed373 100644 --- a/src/wayland-client.h +++ b/src/wayland-client.h @@ -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); |
