From 550cc56e59fbc486ffff5b76328c0c70d42e530d Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 6 Aug 2015 19:08:53 -0400 Subject: [PATCH] make most wayland data device functions external --- src/bin/e_comp_wl_data.c | 6 +++--- src/bin/e_comp_wl_data.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/bin/e_comp_wl_data.c b/src/bin/e_comp_wl_data.c index b54fe2949..5e5218cd7 100644 --- a/src/bin/e_comp_wl_data.c +++ b/src/bin/e_comp_wl_data.c @@ -668,7 +668,7 @@ _e_comp_wl_data_device_target_del(void *data, Evas *e EINA_UNUSED, Evas_Object * e_comp->wl_comp_data->selection.target = NULL; } -EINTERN void +E_API void e_comp_wl_data_device_send_enter(E_Client *ec) { struct wl_resource *data_device_res, *offer_res; @@ -691,7 +691,7 @@ e_comp_wl_data_device_send_enter(E_Client *ec) wl_fixed_from_int(x), wl_fixed_from_int(y), offer_res); } -EINTERN void +E_API void e_comp_wl_data_device_send_leave(E_Client *ec) { struct wl_resource *res; @@ -779,7 +779,7 @@ e_comp_wl_data_manager_shutdown(void) E_FREE_FUNC(e_comp->wl_comp_data->mgr.data_resources, eina_hash_free); } -EINTERN struct wl_resource * +E_API struct wl_resource * e_comp_wl_data_find_for_client(struct wl_client *client) { return eina_hash_find(e_comp->wl_comp_data->mgr.data_resources, &client); diff --git a/src/bin/e_comp_wl_data.h b/src/bin/e_comp_wl_data.h index 5185e14c1..322502ea5 100644 --- a/src/bin/e_comp_wl_data.h +++ b/src/bin/e_comp_wl_data.h @@ -50,13 +50,13 @@ struct _E_Comp_Wl_Clipboard_Offer size_t offset; }; -EINTERN void e_comp_wl_data_device_send_enter(E_Client *ec); -EINTERN void e_comp_wl_data_device_send_leave(E_Client *ec); +E_API void e_comp_wl_data_device_send_enter(E_Client *ec); +E_API void e_comp_wl_data_device_send_leave(E_Client *ec); EINTERN void *e_comp_wl_data_device_send_offer(E_Client *ec); EINTERN void e_comp_wl_data_device_keyboard_focus_set(void); EINTERN Eina_Bool e_comp_wl_data_manager_init(void); EINTERN void e_comp_wl_data_manager_shutdown(void); -EINTERN struct wl_resource *e_comp_wl_data_find_for_client(struct wl_client *client); +E_API struct wl_resource *e_comp_wl_data_find_for_client(struct wl_client *client); E_API E_Comp_Wl_Data_Source *e_comp_wl_data_manager_source_create(struct wl_client *client, struct wl_resource *resource, uint32_t id); # endif #endif