Added a destroy signal to the wl_display object.

Added a destroy signal to the wl_display object.
This commit is contained in:
Jason Ekstrand 2013-01-11 14:29:32 -06:00 committed by Kristian Høgsberg
parent 0d2c233e15
commit 31511d0ea0
4 changed files with 106 additions and 0 deletions

View file

@ -106,6 +106,11 @@ void wl_display_remove_global(struct wl_display *display,
uint32_t wl_display_get_serial(struct wl_display *display);
uint32_t wl_display_next_serial(struct wl_display *display);
void wl_display_add_destroy_listener(struct wl_display *display,
struct wl_listener *listener);
struct wl_listener *wl_display_get_destroy_listener(struct wl_display *display,
wl_notify_func_t notify);
struct wl_client *wl_client_create(struct wl_display *display, int fd);
void wl_client_destroy(struct wl_client *client);
void wl_client_flush(struct wl_client *client);