From e509225454c50900fd7b74debaac28e87fbcd153 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Sat, 27 Jul 2024 15:53:16 +0900 Subject: [PATCH] e_client: change some function's visibility to E_API We changed below APIs visibility to E_API from EINTERN to use module. - e_client_pos_set - e_client_pos_get - e_client_frame_geometry_set Change-Id: I0d3b743d252dfb760a47f95bd84cdb17928e4475 --- src/bin/core/e_client.c | 6 +++--- src/bin/core/e_client_intern.h | 4 ---- src/include/e_client.h | 3 +++ 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/bin/core/e_client.c b/src/bin/core/e_client.c index f386fad..582b286 100644 --- a/src/bin/core/e_client.c +++ b/src/bin/core/e_client.c @@ -3671,7 +3671,7 @@ e_client_res_change_geometry_restore(E_Client *ec) memcpy(&ec->pre_res_change, &pre_res_change, sizeof(pre_res_change)); } -EINTERN void +E_API void e_client_pos_set(E_Client *ec, int x, int y) { if (!ec) return; @@ -3679,7 +3679,7 @@ e_client_pos_set(E_Client *ec, int x, int y) ec->y = y; } -EINTERN void +E_API void e_client_pos_get(E_Client *ec, int *x, int *y) { int ex = 0; @@ -5804,7 +5804,7 @@ e_client_frame_focus_set(E_Client *ec, Eina_Bool focus) e_view_client_focus_set(PRI(ec)->view_client, focus); } -EINTERN void +E_API void e_client_frame_geometry_set(E_Client *ec, int x, int y, int w, int h) { if (!ec) return; diff --git a/src/bin/core/e_client_intern.h b/src/bin/core/e_client_intern.h index 8925313..021f5d3 100644 --- a/src/bin/core/e_client_intern.h +++ b/src/bin/core/e_client_intern.h @@ -64,7 +64,6 @@ EINTERN E_Pixmap *e_client_pixmap_change(E_Client *ec, E_Pixmap *newcp); EINTERN void e_client_layout_geometry_set(E_Client *ec, int x, int y, unsigned int w, unsigned int h); -EINTERN void e_client_frame_geometry_set(E_Client *ec, int x, int y, int w, int h); EINTERN void e_client_frame_update(E_Client *ec); EINTERN void e_client_move_intercept_cb_set(E_Client *ec, E_Client_Move_Intercept_Cb cb); @@ -96,9 +95,6 @@ EINTERN void e_client_mouse_move(E_Client *ec, Evas_Point *output); EINTERN void e_client_res_change_geometry_save(E_Client *bd); EINTERN void e_client_res_change_geometry_restore(E_Client *ec); -EINTERN void e_client_pos_set(E_Client *ec, int x, int y); -EINTERN void e_client_pos_get(E_Client *ec, int *x, int *y); - EINTERN E_Client *e_client_visible_above_get(E_Client *ec); EINTERN E_Client *e_client_visible_below_get(E_Client *ec); diff --git a/src/include/e_client.h b/src/include/e_client.h index 407408f..f529cd9 100644 --- a/src/include/e_client.h +++ b/src/include/e_client.h @@ -1083,6 +1083,9 @@ E_API E_Transient e_client_transient_policy_get(E_Client *ec); E_API void e_client_size_set(E_Client *ec, int w, int h); E_API void e_client_size_get(E_Client *ec, int *w, int *h); +E_API void e_client_pos_set(E_Client *ec, int x, int y); +E_API void e_client_pos_get(E_Client *ec, int *x, int *y); +E_API void e_client_frame_geometry_set(E_Client *ec, int x, int y, int w, int h); E_API Eina_Bool e_client_is_internal(E_Client *ec); E_API Eina_Bool e_client_is_iconified_by_client(E_Client *ec); -- 2.7.4