Generalize the object advertising mechanism.

This commit is contained in:
Kristian Høgsberg 2008-11-23 19:10:23 -05:00
parent 548798266e
commit 14fcff7726
2 changed files with 35 additions and 1 deletions

View file

@ -122,6 +122,8 @@ void wl_surface_iterator_destroy(struct wl_surface_iterator *iterator);
struct wl_object *
wl_input_device_create(struct wl_display *display,
const char *path, uint32_t id);
int
wl_display_add_global(struct wl_display *display, struct wl_object *object);
void
wl_display_post_relative_event(struct wl_display *display,
struct wl_object *source, int dx, int dy);