e_devicemgr: change E_API to EINTERN 99/293699/1
authorSooChan Lim <sc1.lim@samsung.com>
Thu, 1 Jun 2023 04:32:17 +0000 (13:32 +0900)
committerTizen Window System <tizen.windowsystem@gmail.com>
Fri, 2 Jun 2023 06:45:07 +0000 (15:45 +0900)
Change-Id: I24cbb20e2c931adeed804acb7ce935118c5e221c

src/bin/e_devicemgr.c
src/bin/e_devicemgr.h
src/bin/e_devicemgr_input.c
src/bin/e_devicemgr_inputgen.c

index ed663c2..4b4dbd5 100644 (file)
@@ -13,7 +13,7 @@ static Eina_Inlist *_e_devicemgr_intercept_hooks[] =
 
 int _devicemgr_log_dom = -1;
 
-E_API E_Devicemgr_Intercept_Hook *
+EINTERN E_Devicemgr_Intercept_Hook *
 e_devicemgr_intercept_hook_add(E_Devicemgr_Intercept_Hook_Point hookpoint, E_Devicemgr_Intercept_Hook_Cb func, const void *data)
 {
    E_Devicemgr_Intercept_Hook *ch;
@@ -30,7 +30,7 @@ e_devicemgr_intercept_hook_add(E_Devicemgr_Intercept_Hook_Point hookpoint, E_Dev
    return ch;
 }
 
-E_API void
+EINTERN void
 e_devicemgr_intercept_hook_del(E_Devicemgr_Intercept_Hook *ch)
 {
    EINA_SAFETY_ON_NULL_RETURN(ch);
@@ -60,7 +60,7 @@ _e_devicemgr_intercept_hooks_clean(void)
        }
 }
 
-E_API Eina_Bool
+EINTERN Eina_Bool
 e_devicemgr_intercept_hook_call(E_Devicemgr_Intercept_Hook_Point hookpoint, void *event)
 {
    E_Devicemgr_Intercept_Hook *ch;
@@ -109,7 +109,7 @@ e_devicemgr_is_blocking_event(Ecore_Device_Class clas)
    return EINA_FALSE;
 }
 
-E_API int
+EINTERN int
 e_devicemgr_init(void)
 {
    E_Devicemgr_Config_Data *dconfig = NULL;
@@ -163,7 +163,7 @@ failed:
    return EINA_FALSE;
 }
 
-E_API int
+EINTERN int
 e_devicemgr_shutdown(void)
 {
    eina_log_domain_unregister(_devicemgr_log_dom);
index 8935c6b..1b822d5 100644 (file)
@@ -97,16 +97,16 @@ struct _E_Devicemgr_Intercept_Hook
    unsigned char delete_me : 1;
 };
 
-E_API E_Devicemgr_Intercept_Hook *e_devicemgr_intercept_hook_add(E_Devicemgr_Intercept_Hook_Point hookpoint, E_Devicemgr_Intercept_Hook_Cb func, const void *data);
-E_API void e_devicemgr_intercept_hook_del(E_Devicemgr_Intercept_Hook *ch);
-E_API Eina_Bool e_devicemgr_intercept_hook_call(E_Devicemgr_Intercept_Hook_Point hookpoint, void *event);
+EINTERN E_Devicemgr_Intercept_Hook *e_devicemgr_intercept_hook_add(E_Devicemgr_Intercept_Hook_Point hookpoint, E_Devicemgr_Intercept_Hook_Cb func, const void *data);
+EINTERN void e_devicemgr_intercept_hook_del(E_Devicemgr_Intercept_Hook *ch);
+EINTERN Eina_Bool e_devicemgr_intercept_hook_call(E_Devicemgr_Intercept_Hook_Point hookpoint, void *event);
 E_API Eina_Bool e_devicemgr_is_blocking_event(Ecore_Device_Class clas);
-E_API int e_devicemgr_inputgen_key_event_add(const char *key, Eina_Bool pressed, char *identifier);
+EINTERN int e_devicemgr_inputgen_key_event_add(const char *key, Eina_Bool pressed, char *identifier);
 
-E_API int e_devicemgr_init(void);
-E_API int e_devicemgr_shutdown(void);
+EINTERN int e_devicemgr_init(void);
+EINTERN int e_devicemgr_shutdown(void);
 
-Eina_Bool e_devicemgr_detent_is_detent(const char *name);
+EINTERN Eina_Bool e_devicemgr_detent_is_detent(const char *name);
 
 EINTERN Eina_Bool e_devicemgr_block_internal_add(Ecore_Device_Class clas, Eina_Bool all_clas, uint32_t duration, E_Devicemgr_Block_Expire_Cb cb_func, void *cb_data);
 EINTERN Eina_Bool e_devicemgr_block_internal_remove(E_Devicemgr_Block_Expire_Cb cb_func, void *cb_data);
index 1beaac0..0f37acf 100644 (file)
@@ -97,7 +97,7 @@ e_devicemgr_input_pointer_warp(struct wl_client *client, struct wl_resource *res
    return ret;
 }
 
-Eina_Bool
+EINTERN Eina_Bool
 e_devicemgr_detent_is_detent(const char *name)
 {
    EINA_SAFETY_ON_NULL_RETURN_VAL(name, EINA_FALSE);
index a299876..62c61d9 100644 (file)
@@ -67,7 +67,7 @@ _e_devicemgr_inputgen_key_event_free(void *data EINA_UNUSED, void *ev)
    free(e);
 }
 
-E_API int
+EINTERN int
 e_devicemgr_inputgen_key_event_add(const char *key, Eina_Bool pressed, char *identifier)
 {
    Ecore_Event_Key *e;