From cb1342d2e8d9938591ee7476588d4f7f90e12a49 Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Thu, 1 Jun 2023 11:32:55 +0900 Subject: [PATCH] e_comp_wl_input: change E_API to EINTERN Change-Id: I06e6d50c1777826f7e8278c72365f873f844591c --- src/bin/e_comp_wl_input.c | 22 +++++++++++----------- src/bin/e_comp_wl_input.h | 22 +++++++++++----------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c index f7b889c..fdf479c 100644 --- a/src/bin/e_comp_wl_input.c +++ b/src/bin/e_comp_wl_input.c @@ -794,7 +794,7 @@ e_comp_wl_input_keyboard_state_update(uint32_t keycode, Eina_Bool pressed) e_comp_wl_input_keyboard_modifiers_update(); } -E_API void +EINTERN void e_comp_wl_input_pointer_enabled_set(Eina_Bool enabled) { /* check for valid compositor data */ @@ -808,7 +808,7 @@ e_comp_wl_input_pointer_enabled_set(Eina_Bool enabled) _e_comp_wl_input_update_seat_caps(NULL); } -E_API void +EINTERN void e_comp_wl_input_keyboard_enabled_set(Eina_Bool enabled) { /* check for valid compositor data */ @@ -839,7 +839,7 @@ e_comp_wl_input_keymap_path_get(struct xkb_rule_names names) names.options ? names.options : ""); } -E_API struct xkb_keymap * +EINTERN struct xkb_keymap * e_comp_wl_input_keymap_compile(struct xkb_context *ctx, struct xkb_rule_names names, char **keymap_path) { struct xkb_keymap *keymap; @@ -991,7 +991,7 @@ e_comp_wl_input_keymap_set(const char *rules, const char *model, const char *lay TRACE_INPUT_END(); } -E_API const char* +EINTERN const char* e_comp_wl_input_keymap_default_rules_get(void) { if (e_config->xkb.default_rmlvo.rules) @@ -1003,7 +1003,7 @@ e_comp_wl_input_keymap_default_rules_get(void) return "evdev"; } -E_API const char* +EINTERN const char* e_comp_wl_input_keymap_default_model_get(void) { if (e_config->xkb.default_rmlvo.model) @@ -1015,7 +1015,7 @@ e_comp_wl_input_keymap_default_model_get(void) return "pc105"; } -E_API const char* +EINTERN const char* e_comp_wl_input_keymap_default_layout_get(void) { if (e_config->xkb.default_rmlvo.layout) @@ -1027,7 +1027,7 @@ e_comp_wl_input_keymap_default_layout_get(void) return "us"; } -E_API const char* +EINTERN const char* e_comp_wl_input_keymap_default_variant_get(void) { if (e_config->xkb.default_rmlvo.variant) @@ -1039,7 +1039,7 @@ e_comp_wl_input_keymap_default_variant_get(void) return NULL; } -E_API const char* +EINTERN const char* e_comp_wl_input_keymap_default_options_get(void) { if (e_config->xkb.default_rmlvo.options) @@ -1051,7 +1051,7 @@ e_comp_wl_input_keymap_default_options_get(void) return NULL; } -E_API void +EINTERN void e_comp_wl_input_touch_enabled_set(Eina_Bool enabled) { /* check for valid compositor data */ @@ -1065,7 +1065,7 @@ e_comp_wl_input_touch_enabled_set(Eina_Bool enabled) _e_comp_wl_input_update_seat_caps(NULL); } -E_API void +EINTERN void e_comp_wl_input_seat_caps_set(unsigned int caps) { Eina_Bool need_update = EINA_FALSE; @@ -1186,7 +1186,7 @@ finish: return 0; } -E_API char * +EINTERN char * e_comp_wl_input_keymap_keycode_to_keyname(int keycode) { struct xkb_state *state; diff --git a/src/bin/e_comp_wl_input.h b/src/bin/e_comp_wl_input.h index fedcc6a..ffde85d 100644 --- a/src/bin/e_comp_wl_input.h +++ b/src/bin/e_comp_wl_input.h @@ -23,26 +23,26 @@ EINTERN void e_comp_wl_input_keyboard_modifiers_update(void); EINTERN void e_comp_wl_input_keyboard_state_update(uint32_t keycode, Eina_Bool pressed); EINTERN void e_comp_wl_input_keyboard_enter_send(E_Client *client); -E_API void e_comp_wl_input_pointer_enabled_set(Eina_Bool enabled); -E_API void e_comp_wl_input_keyboard_enabled_set(Eina_Bool enabled); -E_API void e_comp_wl_input_touch_enabled_set(Eina_Bool enabled); -E_API void e_comp_wl_input_seat_caps_set(unsigned int caps); +EINTERN void e_comp_wl_input_pointer_enabled_set(Eina_Bool enabled); +EINTERN void e_comp_wl_input_keyboard_enabled_set(Eina_Bool enabled); +EINTERN void e_comp_wl_input_touch_enabled_set(Eina_Bool enabled); +EINTERN void e_comp_wl_input_seat_caps_set(unsigned int caps); E_API Eina_Bool e_comp_wl_input_keymap_cache_file_use_get(void); E_API Eina_Stringshare *e_comp_wl_input_keymap_path_get(struct xkb_rule_names names); -E_API struct xkb_keymap *e_comp_wl_input_keymap_compile(struct xkb_context *ctx, struct xkb_rule_names names, char **keymap_path); +EINTERN struct xkb_keymap *e_comp_wl_input_keymap_compile(struct xkb_context *ctx, struct xkb_rule_names names, char **keymap_path); E_API void e_comp_wl_input_keymap_set(const char *rules, const char *model, const char *layout, const char *variant, const char *options, struct xkb_context *dflt_ctx, struct xkb_keymap *dflt_map); -E_API const char *e_comp_wl_input_keymap_default_rules_get(void); -E_API const char *e_comp_wl_input_keymap_default_model_get(void); -E_API const char *e_comp_wl_input_keymap_default_layout_get(void); -E_API const char *e_comp_wl_input_keymap_default_variant_get(void); -E_API const char *e_comp_wl_input_keymap_default_options_get(void); +EINTERN const char *e_comp_wl_input_keymap_default_rules_get(void); +EINTERN const char *e_comp_wl_input_keymap_default_model_get(void); +EINTERN const char *e_comp_wl_input_keymap_default_layout_get(void); +EINTERN const char *e_comp_wl_input_keymap_default_variant_get(void); +EINTERN const char *e_comp_wl_input_keymap_default_options_get(void); E_API void e_comp_wl_input_keyboard_repeat_set(int delay, int rate); E_API int e_comp_wl_input_keymap_keyname_to_keycode(const char * name); -E_API char *e_comp_wl_input_keymap_keycode_to_keyname(int keycode); +EINTERN char *e_comp_wl_input_keymap_keycode_to_keyname(int keycode); # endif #endif -- 2.7.4