summaryrefslogtreecommitdiff
path: root/src/wayland-server.h
diff options
context:
space:
mode:
authorJason Ekstrand <jason@jlekstrand.net>2013-01-11 21:01:47 -0600
committerKristian Høgsberg <krh@bitplanet.net>2013-01-15 14:05:27 -0500
commit2423497b999c999528a7d2380a13fcb3e3412d0a (patch)
tree3428a59502eda4bbba3bd320bc856a0a41bd0d49 /src/wayland-server.h
parent31511d0ea08e9419bf6a3169ea196a551b4a94be (diff)
Add a destroy signal to the wl_event_loop object
Diffstat (limited to 'src/wayland-server.h')
-rw-r--r--src/wayland-server.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wayland-server.h b/src/wayland-server.h
index 576304f..c7369eb 100644
--- a/src/wayland-server.h
+++ b/src/wayland-server.h
@@ -84,6 +84,12 @@ struct wl_touch;
struct wl_listener;
typedef void (*wl_notify_func_t)(struct wl_listener *listener, void *data);
+void wl_event_loop_add_destroy_listener(struct wl_event_loop *loop,
+ struct wl_listener * listener);
+struct wl_listener *wl_event_loop_get_destroy_listener(
+ struct wl_event_loop *loop,
+ wl_notify_func_t notify);
+
struct wl_display *wl_display_create(void);
void wl_display_destroy(struct wl_display *display);
struct wl_event_loop *wl_display_get_event_loop(struct wl_display *display);