From: InHong Han Date: Fri, 28 Jul 2017 07:08:21 +0000 (+0900) Subject: Moved the EXPORT_API macro from header to inputmethod.cpp X-Git-Tag: submit/tizen/20170729.030654~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=366891212c47225ca442dedfb12a26bdd48a1b30;p=platform%2Fcore%2Fapi%2Finputmethod.git Moved the EXPORT_API macro from header to inputmethod.cpp Change-Id: I0d86d0cedcdcddbe19ebf0e199454281af721e8f --- diff --git a/include/inputmethod.h b/include/inputmethod.h index 3eaed79..b447782 100644 --- a/include/inputmethod.h +++ b/include/inputmethod.h @@ -833,7 +833,7 @@ typedef struct { } * @endcode */ -EXPORT_API int ime_run(ime_callback_s *basic_cb, void *user_data); +int ime_run(ime_callback_s *basic_cb, void *user_data); /** * @brief Sets @c focus_in event callback function. @@ -861,7 +861,7 @@ EXPORT_API int ime_run(ime_callback_s *basic_cb, void *user_data); * @see ime_focus_in_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_focus_in_cb(ime_focus_in_cb callback_func, void *user_data); +int ime_event_set_focus_in_cb(ime_focus_in_cb callback_func, void *user_data); /** * @brief Sets @c focus_out event callback function. @@ -889,7 +889,7 @@ EXPORT_API int ime_event_set_focus_in_cb(ime_focus_in_cb callback_func, void *us * @see ime_focus_out_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_focus_out_cb(ime_focus_out_cb callback_func, void *user_data); +int ime_event_set_focus_out_cb(ime_focus_out_cb callback_func, void *user_data); /** * @brief Sets @c surrounding_text_updated event callback function. @@ -917,7 +917,7 @@ EXPORT_API int ime_event_set_focus_out_cb(ime_focus_out_cb callback_func, void * * @see ime_surrounding_text_updated_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_surrounding_text_updated_cb(ime_surrounding_text_updated_cb callback_func, void *user_data); +int ime_event_set_surrounding_text_updated_cb(ime_surrounding_text_updated_cb callback_func, void *user_data); /** * @brief Sets @c input_context_reset event callback function. @@ -945,7 +945,7 @@ EXPORT_API int ime_event_set_surrounding_text_updated_cb(ime_surrounding_text_up * @see ime_input_context_reset_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_input_context_reset_cb(ime_input_context_reset_cb callback_func, void *user_data); +int ime_event_set_input_context_reset_cb(ime_input_context_reset_cb callback_func, void *user_data); /** * @brief Sets @c cursor_position_updated event callback function. @@ -973,7 +973,7 @@ EXPORT_API int ime_event_set_input_context_reset_cb(ime_input_context_reset_cb c * @see ime_cursor_position_updated_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_cursor_position_updated_cb(ime_cursor_position_updated_cb callback_func, void *user_data); +int ime_event_set_cursor_position_updated_cb(ime_cursor_position_updated_cb callback_func, void *user_data); /** * @brief Sets @c language_requested event callback function. @@ -1001,7 +1001,7 @@ EXPORT_API int ime_event_set_cursor_position_updated_cb(ime_cursor_position_upda * @see ime_language_requested_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_language_requested_cb(ime_language_requested_cb callback_func, void *user_data); +int ime_event_set_language_requested_cb(ime_language_requested_cb callback_func, void *user_data); /** * @brief Sets @c language_set event callback function. @@ -1029,7 +1029,7 @@ EXPORT_API int ime_event_set_language_requested_cb(ime_language_requested_cb cal * @see ime_language_set_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_language_set_cb(ime_language_set_cb callback_func, void *user_data); +int ime_event_set_language_set_cb(ime_language_set_cb callback_func, void *user_data); /** * @brief Sets @c imdata_set event callback function. @@ -1058,7 +1058,7 @@ EXPORT_API int ime_event_set_language_set_cb(ime_language_set_cb callback_func, * @see ime_event_set_imdata_requested_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_imdata_set_cb(ime_imdata_set_cb callback_func, void *user_data); +int ime_event_set_imdata_set_cb(ime_imdata_set_cb callback_func, void *user_data); /** * @brief Sets @c imdata_requested event callback function. @@ -1087,7 +1087,7 @@ EXPORT_API int ime_event_set_imdata_set_cb(ime_imdata_set_cb callback_func, void * @see ime_event_set_imdata_set_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_imdata_requested_cb(ime_imdata_requested_cb callback_func, void *user_data); +int ime_event_set_imdata_requested_cb(ime_imdata_requested_cb callback_func, void *user_data); /** * @brief Sets @c layout_set event callback function. @@ -1115,7 +1115,7 @@ EXPORT_API int ime_event_set_imdata_requested_cb(ime_imdata_requested_cb callbac * @see ime_layout_set_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_layout_set_cb(ime_layout_set_cb callback_func, void *user_data); +int ime_event_set_layout_set_cb(ime_layout_set_cb callback_func, void *user_data); /** * @brief Sets @c return_key_type_set event callback function. @@ -1143,7 +1143,7 @@ EXPORT_API int ime_event_set_layout_set_cb(ime_layout_set_cb callback_func, void * @see ime_return_key_type_set_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_return_key_type_set_cb(ime_return_key_type_set_cb callback_func, void *user_data); +int ime_event_set_return_key_type_set_cb(ime_return_key_type_set_cb callback_func, void *user_data); /** * @brief Sets @c return_key_state_set event callback function. @@ -1171,7 +1171,7 @@ EXPORT_API int ime_event_set_return_key_type_set_cb(ime_return_key_type_set_cb c * @see ime_return_key_state_set_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_return_key_state_set_cb(ime_return_key_state_set_cb callback_func, void *user_data); +int ime_event_set_return_key_state_set_cb(ime_return_key_state_set_cb callback_func, void *user_data); /** * @brief Sets @c geometry_requested event callback function. @@ -1199,7 +1199,7 @@ EXPORT_API int ime_event_set_return_key_state_set_cb(ime_return_key_state_set_cb * @see ime_geometry_requested_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_geometry_requested_cb(ime_geometry_requested_cb callback_func, void *user_data); +int ime_event_set_geometry_requested_cb(ime_geometry_requested_cb callback_func, void *user_data); /** * @brief Sets @c process_key_event event callback function. @@ -1271,7 +1271,7 @@ EXPORT_API int ime_event_set_geometry_requested_cb(ime_geometry_requested_cb cal } * @endcode */ -EXPORT_API int ime_event_set_process_key_event_cb(ime_process_key_event_cb callback_func, void *user_data); +int ime_event_set_process_key_event_cb(ime_process_key_event_cb callback_func, void *user_data); /** * @brief Sets @c display_language_changed event callback function. @@ -1299,7 +1299,7 @@ EXPORT_API int ime_event_set_process_key_event_cb(ime_process_key_event_cb callb * @see ime_display_language_changed_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_display_language_changed_cb(ime_display_language_changed_cb callback_func, void *user_data); +int ime_event_set_display_language_changed_cb(ime_display_language_changed_cb callback_func, void *user_data); /** * @brief Sets @c rotation_degree_changed event callback function. @@ -1327,7 +1327,7 @@ EXPORT_API int ime_event_set_display_language_changed_cb(ime_display_language_ch * @see ime_rotation_degree_changed_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_rotation_degree_changed_cb(ime_rotation_degree_changed_cb callback_func, void *user_data); +int ime_event_set_rotation_degree_changed_cb(ime_rotation_degree_changed_cb callback_func, void *user_data); /** * @brief Sets @c accessibility_state_changed event callback function. @@ -1355,7 +1355,7 @@ EXPORT_API int ime_event_set_rotation_degree_changed_cb(ime_rotation_degree_chan * @see ime_accessibility_state_changed_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_accessibility_state_changed_cb(ime_accessibility_state_changed_cb callback_func, void *user_data); +int ime_event_set_accessibility_state_changed_cb(ime_accessibility_state_changed_cb callback_func, void *user_data); /** * @brief Sets @c option_window_created event callback function. @@ -1382,7 +1382,7 @@ EXPORT_API int ime_event_set_accessibility_state_changed_cb(ime_accessibility_st * @see ime_option_window_created_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_option_window_created_cb(ime_option_window_created_cb callback_func, void *user_data); +int ime_event_set_option_window_created_cb(ime_option_window_created_cb callback_func, void *user_data); /** * @brief Sets @c option_window_destroyed event callback function. @@ -1409,7 +1409,7 @@ EXPORT_API int ime_event_set_option_window_created_cb(ime_option_window_created_ * @see ime_option_window_destroyed_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_option_window_destroyed_cb(ime_option_window_destroyed_cb callback_func, void *user_data); +int ime_event_set_option_window_destroyed_cb(ime_option_window_destroyed_cb callback_func, void *user_data); /** * @brief Sends a key event to the associated text input UI control. @@ -1439,7 +1439,7 @@ EXPORT_API int ime_event_set_option_window_destroyed_cb(ime_option_window_destro * @see ime_key_mask_e * @see ime_process_key_event_cb() */ -EXPORT_API int ime_send_key_event(ime_key_code_e keycode, ime_key_mask_e keymask, bool forward_key); +int ime_send_key_event(ime_key_code_e keycode, ime_key_mask_e keymask, bool forward_key); /** * @brief Sends the text to the associated text input UI control. @@ -1461,7 +1461,7 @@ EXPORT_API int ime_send_key_event(ime_key_code_e keycode, ime_key_mask_e keymask * @see ime_hide_preedit_string() * @see ime_update_preedit_string() */ -EXPORT_API int ime_commit_string(const char *str); +int ime_commit_string(const char *str); /** * @brief Requests to show preedit string. @@ -1481,7 +1481,7 @@ EXPORT_API int ime_commit_string(const char *str); * @see ime_hide_preedit_string() * @see ime_update_preedit_string() */ -EXPORT_API int ime_show_preedit_string(void); +int ime_show_preedit_string(void); /** * @brief Requests to hide preedit string. @@ -1501,7 +1501,7 @@ EXPORT_API int ime_show_preedit_string(void); * @see ime_show_preedit_string() * @see ime_update_preedit_string() */ -EXPORT_API int ime_hide_preedit_string(void); +int ime_hide_preedit_string(void); /** * @brief Updates a new preedit string. @@ -1564,7 +1564,7 @@ EXPORT_API int ime_hide_preedit_string(void); } * @endcode */ -EXPORT_API int ime_update_preedit_string(const char *str, Eina_List *attrs); +int ime_update_preedit_string(const char *str, Eina_List *attrs); /** * @brief Requests the surrounding text from the position of the cursor, asynchronously. @@ -1592,7 +1592,7 @@ EXPORT_API int ime_update_preedit_string(const char *str, Eina_List *attrs); * @see ime_event_set_surrounding_text_updated_cb() * @see ime_surrounding_text_updated_cb() */ -EXPORT_API int ime_request_surrounding_text(int maxlen_before, int maxlen_after); +int ime_request_surrounding_text(int maxlen_before, int maxlen_after); /** * @brief Requests to delete surrounding text. @@ -1614,7 +1614,7 @@ EXPORT_API int ime_request_surrounding_text(int maxlen_before, int maxlen_after) * * @see ime_request_surrounding_text() */ -EXPORT_API int ime_delete_surrounding_text(int offset, int len); +int ime_delete_surrounding_text(int offset, int len); /** * @brief Gets the surrounding text from the position of the cursor, synchronously. @@ -1641,7 +1641,7 @@ EXPORT_API int ime_delete_surrounding_text(int offset, int len); * * @see ime_delete_surrounding_text() */ -EXPORT_API int ime_get_surrounding_text(int maxlen_before, int maxlen_after, char **text, int *cursor_pos); +int ime_get_surrounding_text(int maxlen_before, int maxlen_after, char **text, int *cursor_pos); /** * @brief Requests to set selection. @@ -1661,7 +1661,7 @@ EXPORT_API int ime_get_surrounding_text(int maxlen_before, int maxlen_after, cha * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet */ -EXPORT_API int ime_set_selection(int start, int end); +int ime_set_selection(int start, int end); /** * @brief This API returns the pointer of input panel main window. @@ -1686,7 +1686,7 @@ EXPORT_API int ime_set_selection(int start, int end); * @see ime_show_cb() * @see ime_hide_cb() */ -EXPORT_API Evas_Object* ime_get_main_window(void); +Evas_Object* ime_get_main_window(void); /** * @brief This API updates the input panel window's size information. @@ -1709,7 +1709,7 @@ EXPORT_API Evas_Object* ime_get_main_window(void); * * @see ime_create_cb() */ -EXPORT_API int ime_set_size(int portrait_width, int portrait_height, int landscape_width, int landscape_height); +int ime_set_size(int portrait_width, int portrait_height, int landscape_width, int landscape_height); /** * @brief Requests to create an option window from the input panel. @@ -1743,7 +1743,7 @@ EXPORT_API int ime_set_size(int portrait_width, int portrait_height, int landsca * @see ime_option_window_created_cb() * @see ime_destroy_option_window() */ -EXPORT_API int ime_create_option_window(void); +int ime_create_option_window(void); /** * @brief Requests to destroy an option window. @@ -1777,7 +1777,7 @@ EXPORT_API int ime_create_option_window(void); * @see ime_option_window_destroyed_cb() * @see ime_create_option_window() */ -EXPORT_API int ime_destroy_option_window(Evas_Object *window); +int ime_destroy_option_window(Evas_Object *window); /** * @brief Gets the layout information from the given input context. @@ -1805,7 +1805,7 @@ EXPORT_API int ime_destroy_option_window(Evas_Object *window); * @see ime_show_cb() * @see ime_layout_set_cb() */ -EXPORT_API int ime_context_get_layout(ime_context_h context, Ecore_IMF_Input_Panel_Layout *layout); +int ime_context_get_layout(ime_context_h context, Ecore_IMF_Input_Panel_Layout *layout); /** * @brief Gets the layout variation information from the given input context. @@ -1833,7 +1833,7 @@ EXPORT_API int ime_context_get_layout(ime_context_h context, Ecore_IMF_Input_Pan * @see ime_show_cb() * @see ime_layout_variation_e */ -EXPORT_API int ime_context_get_layout_variation(ime_context_h context, ime_layout_variation_e *layout_variation); +int ime_context_get_layout_variation(ime_context_h context, ime_layout_variation_e *layout_variation); /** * @brief Gets the cursor position information from the given input context. @@ -1861,7 +1861,7 @@ EXPORT_API int ime_context_get_layout_variation(ime_context_h context, ime_layou * @see ime_show_cb() * @see ime_cursor_position_updated_cb() */ -EXPORT_API int ime_context_get_cursor_position(ime_context_h context, int *cursor_pos); +int ime_context_get_cursor_position(ime_context_h context, int *cursor_pos); /** * @brief Gets the autocapital type information from the given input context. @@ -1888,7 +1888,7 @@ EXPORT_API int ime_context_get_cursor_position(ime_context_h context, int *curso * * @see ime_show_cb() */ -EXPORT_API int ime_context_get_autocapital_type(ime_context_h context, Ecore_IMF_Autocapital_Type *autocapital_type); +int ime_context_get_autocapital_type(ime_context_h context, Ecore_IMF_Autocapital_Type *autocapital_type); /** * @brief Gets the @c Return key label type information from the given input context. @@ -1916,7 +1916,7 @@ EXPORT_API int ime_context_get_autocapital_type(ime_context_h context, Ecore_IMF * @see ime_show_cb() * @see ime_return_key_type_set_cb() */ -EXPORT_API int ime_context_get_return_key_type(ime_context_h context, Ecore_IMF_Input_Panel_Return_Key_Type *return_key_type); +int ime_context_get_return_key_type(ime_context_h context, Ecore_IMF_Input_Panel_Return_Key_Type *return_key_type); /** * @brief Gets the @c Return key state information from the given input context. @@ -1945,7 +1945,7 @@ EXPORT_API int ime_context_get_return_key_type(ime_context_h context, Ecore_IMF_ * @see ime_show_cb() * @see ime_return_key_state_set_cb() */ -EXPORT_API int ime_context_get_return_key_state(ime_context_h context, bool *return_key_state); +int ime_context_get_return_key_state(ime_context_h context, bool *return_key_state); /** * @brief Gets the prediction mode information from the given input context. @@ -1973,7 +1973,7 @@ EXPORT_API int ime_context_get_return_key_state(ime_context_h context, bool *ret * * @see ime_show_cb() */ -EXPORT_API int ime_context_get_prediction_mode(ime_context_h context, bool *prediction_mode); +int ime_context_get_prediction_mode(ime_context_h context, bool *prediction_mode); /** * @brief Gets the password mode information from the given input context. @@ -2003,7 +2003,7 @@ EXPORT_API int ime_context_get_prediction_mode(ime_context_h context, bool *pred * * @see ime_show_cb() */ -EXPORT_API int ime_context_get_password_mode(ime_context_h context, bool *password_mode); +int ime_context_get_password_mode(ime_context_h context, bool *password_mode); /** * @brief Gets the input hint information from the given input context. @@ -2033,7 +2033,7 @@ EXPORT_API int ime_context_get_password_mode(ime_context_h context, bool *passwo * * @see ime_show_cb() */ -EXPORT_API int ime_context_get_input_hint(ime_context_h context, Ecore_IMF_Input_Hints *input_hint); +int ime_context_get_input_hint(ime_context_h context, Ecore_IMF_Input_Hints *input_hint); /** * @brief Gets the text bidirectional information from the given input context. @@ -2060,7 +2060,7 @@ EXPORT_API int ime_context_get_input_hint(ime_context_h context, Ecore_IMF_Input * * @see ime_show_cb() */ -EXPORT_API int ime_context_get_bidi_direction(ime_context_h context, Ecore_IMF_BiDi_Direction *bidi); +int ime_context_get_bidi_direction(ime_context_h context, Ecore_IMF_BiDi_Direction *bidi); /** * @brief Gets the preferred language information from the given input context. @@ -2087,7 +2087,7 @@ EXPORT_API int ime_context_get_bidi_direction(ime_context_h context, Ecore_IMF_B * * @see ime_show_cb() */ -EXPORT_API int ime_context_get_language(ime_context_h context, Ecore_IMF_Input_Panel_Lang *language); +int ime_context_get_language(ime_context_h context, Ecore_IMF_Input_Panel_Lang *language); /** * @brief Gets the device name of the key event. @@ -2113,7 +2113,7 @@ EXPORT_API int ime_context_get_language(ime_context_h context, Ecore_IMF_Input_P * @see ime_device_info_get_class() * @see ime_device_info_get_subclass() */ -EXPORT_API int ime_device_info_get_name(ime_device_info_h dev_info, char **dev_name); +int ime_device_info_get_name(ime_device_info_h dev_info, char **dev_name); /** * @brief Gets the device class of the key event. @@ -2137,7 +2137,7 @@ EXPORT_API int ime_device_info_get_name(ime_device_info_h dev_info, char **dev_n * @see ime_device_info_get_name() * @see ime_device_info_get_subclass() */ -EXPORT_API int ime_device_info_get_class(ime_device_info_h dev_info, Ecore_IMF_Device_Class *dev_class); +int ime_device_info_get_class(ime_device_info_h dev_info, Ecore_IMF_Device_Class *dev_class); /** * @brief Gets the device subclass of the key event. * @@ -2160,7 +2160,7 @@ EXPORT_API int ime_device_info_get_class(ime_device_info_h dev_info, Ecore_IMF_D * @see ime_device_info_get_name() * @see ime_device_info_get_class() */ -EXPORT_API int ime_device_info_get_subclass(ime_device_info_h dev_info, Ecore_IMF_Device_Subclass *dev_subclass); +int ime_device_info_get_subclass(ime_device_info_h dev_info, Ecore_IMF_Device_Subclass *dev_subclass); /** * @brief Sets @c prediction_hint_set event callback function. @@ -2187,7 +2187,7 @@ EXPORT_API int ime_device_info_get_subclass(ime_device_info_h dev_info, Ecore_IM * @see ime_prediction_hint_set_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_prediction_hint_set_cb(ime_prediction_hint_set_cb callback_func, void *user_data); +int ime_event_set_prediction_hint_set_cb(ime_prediction_hint_set_cb callback_func, void *user_data); /** * @brief Sets @c mime_type_set event callback function. @@ -2213,7 +2213,7 @@ EXPORT_API int ime_event_set_prediction_hint_set_cb(ime_prediction_hint_set_cb c * @see ime_mime_type_set_cb() * @see ime_run() */ -EXPORT_API int ime_event_set_mime_type_cb(ime_mime_type_set_cb callback_func, void *user_data); +int ime_event_set_mime_type_cb(ime_mime_type_set_cb callback_func, void *user_data); /** * @brief Sends a private command to the associated text input UI control. @@ -2234,7 +2234,7 @@ EXPORT_API int ime_event_set_mime_type_cb(ime_mime_type_set_cb callback_func, vo * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet */ -EXPORT_API int ime_send_private_command(const char *command); +int ime_send_private_command(const char *command); /** * @brief Commit a content such as image to the associated text input UI control. @@ -2254,7 +2254,7 @@ EXPORT_API int ime_send_private_command(const char *command); * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet */ -EXPORT_API int ime_commit_content(const char *content, const char *description, const char *mime_types); +int ime_commit_content(const char *content, const char *description, const char *mime_types); /** * @brief Request to set floating mode or not. @@ -2272,7 +2272,7 @@ EXPORT_API int ime_commit_content(const char *content, const char *description, * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet */ -EXPORT_API int ime_set_floating_mode(bool floating_mode); +int ime_set_floating_mode(bool floating_mode); /** * @} diff --git a/include/inputmethod_device_event.h b/include/inputmethod_device_event.h index 92c7223..ec1352f 100644 --- a/include/inputmethod_device_event.h +++ b/include/inputmethod_device_event.h @@ -141,7 +141,7 @@ typedef void(*ime_process_input_device_event_cb)(ime_input_device_type_e device_ * @endcode */ -EXPORT_API int ime_event_set_process_input_device_event_cb(ime_process_input_device_event_cb callback_func, void *user_data); +int ime_event_set_process_input_device_event_cb(ime_process_input_device_event_cb callback_func, void *user_data); /** * @brief Unsets @c process_input_device_event event callback function. @@ -163,7 +163,7 @@ EXPORT_API int ime_event_set_process_input_device_event_cb(ime_process_input_dev * @see ime_process_input_device_event_cb() * @see ime_event_set_process_input_device_event_cb() */ -EXPORT_API int ime_event_unset_process_input_device_event_cb(void); +int ime_event_unset_process_input_device_event_cb(void); /** * @brief Gets the direction of the rotary input device event @@ -202,7 +202,7 @@ EXPORT_API int ime_event_unset_process_input_device_event_cb(void); } * @endcode */ -EXPORT_API int ime_input_device_rotary_get_direction(ime_input_device_event_h event_handle, ime_input_device_rotary_direction_e *direction); +int ime_input_device_rotary_get_direction(ime_input_device_event_h event_handle, ime_input_device_rotary_direction_e *direction); #ifdef __cplusplus } diff --git a/include/inputmethod_internal.h b/include/inputmethod_internal.h index 3fc03e8..a2a003a 100644 --- a/include/inputmethod_internal.h +++ b/include/inputmethod_internal.h @@ -102,7 +102,7 @@ typedef void (*ime_lookup_table_changed_cb)(Eina_List *list, void *user_data); * * @see ime_run() */ -EXPORT_API int ime_event_set_caps_mode_changed_cb(ime_caps_mode_changed_cb callback_func, void *user_data); +int ime_event_set_caps_mode_changed_cb(ime_caps_mode_changed_cb callback_func, void *user_data); /** * @brief Sets @c ime_caps_mode_changed_cb event callback function. @@ -127,9 +127,9 @@ EXPORT_API int ime_event_set_caps_mode_changed_cb(ime_caps_mode_changed_cb callb * * @see ime_run() */ -EXPORT_API int ime_event_set_candidate_show_cb(ime_candidate_show_cb callback_func, void *user_data); +int ime_event_set_candidate_show_cb(ime_candidate_show_cb callback_func, void *user_data); -EXPORT_API int ime_event_set_candidate_hide_cb(ime_candidate_hide_cb callback_func, void *user_data); +int ime_event_set_candidate_hide_cb(ime_candidate_hide_cb callback_func, void *user_data); /** * @brief Sets @c ime_lookup_table_changed_cb event callback function. @@ -154,7 +154,7 @@ EXPORT_API int ime_event_set_candidate_hide_cb(ime_candidate_hide_cb callback_fu * * @see ime_run() */ -EXPORT_API int ime_event_set_lookup_table_changed_cb(ime_lookup_table_changed_cb callback_func, void *user_data); +int ime_event_set_lookup_table_changed_cb(ime_lookup_table_changed_cb callback_func, void *user_data); /** * @brief Gets the caps mode information from the given input context. @@ -180,7 +180,7 @@ EXPORT_API int ime_event_set_lookup_table_changed_cb(ime_lookup_table_changed_cb * * @see ime_show_cb() */ -EXPORT_API int ime_context_get_caps_mode(ime_context_h context, bool *caps_mode); +int ime_context_get_caps_mode(ime_context_h context, bool *caps_mode); /** * @brief Set keyboard engine. @@ -197,7 +197,7 @@ EXPORT_API int ime_context_get_caps_mode(ime_context_h context, bool *caps_mode) * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet */ -EXPORT_API int ime_set_imengine(const char *engine_id); +int ime_set_imengine(const char *engine_id); /** * @brief Flush state in Input Method engine. @@ -211,7 +211,7 @@ EXPORT_API int ime_set_imengine(const char *engine_id); * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet */ -EXPORT_API int ime_flush_imengine(); +int ime_flush_imengine(); /** * @brief Reset state in Input Method engine. @@ -225,7 +225,7 @@ EXPORT_API int ime_flush_imengine(); * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet */ -EXPORT_API int ime_reset_imengine(); +int ime_reset_imengine(); /** * @brief Send the selected item index in the candidate list. @@ -241,7 +241,7 @@ EXPORT_API int ime_reset_imengine(); * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet */ -EXPORT_API int ime_select_candidate(unsigned int index); +int ime_select_candidate(unsigned int index); /** * @brief Send the input context event. @@ -258,7 +258,7 @@ EXPORT_API int ime_select_candidate(unsigned int index); * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet */ -EXPORT_API int ime_update_input_context(unsigned int type, unsigned int value); +int ime_update_input_context(unsigned int type, unsigned int value); /** * @brief Send the request to hide IME. @@ -272,7 +272,7 @@ EXPORT_API int ime_update_input_context(unsigned int type, unsigned int value); * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet */ -EXPORT_API int ime_request_hide(); +int ime_request_hide(); /** * @brief Explicitly request IME to initialize @@ -290,7 +290,7 @@ EXPORT_API int ime_request_hide(); * @retval #IME_ERROR_NONE No error * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function */ -EXPORT_API int ime_initialize(); +int ime_initialize(); /** * @brief Request IME to prepare resources such as IME window and socket connection @@ -308,7 +308,7 @@ EXPORT_API int ime_initialize(); * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function * @retval #IME_ERROR_OPERATION_FAILED Operation failed */ -EXPORT_API int ime_prepare(); +int ime_prepare(); /** * @brief Explicitly request IME to finalize @@ -321,7 +321,7 @@ EXPORT_API int ime_prepare(); * @retval #IME_ERROR_NONE No error * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function */ -EXPORT_API int ime_finalize(); +int ime_finalize(); #ifdef __cplusplus } diff --git a/src/inputmethod.cpp b/src/inputmethod.cpp index 22012f0..d9b4a39 100644 --- a/src/inputmethod.cpp +++ b/src/inputmethod.cpp @@ -480,7 +480,7 @@ ime_error_e _check_privilege() return ret; } -int ime_run(ime_callback_s *basic_cb, void *user_data) +EXPORT_API int ime_run(ime_callback_s *basic_cb, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -527,7 +527,7 @@ int ime_run(ime_callback_s *basic_cb, void *user_data) return IME_ERROR_NONE; } -int ime_event_set_focus_in_cb(ime_focus_in_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_focus_in_cb(ime_focus_in_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -548,7 +548,7 @@ int ime_event_set_focus_in_cb(ime_focus_in_cb callback_func, void *user_data) return IME_ERROR_NONE; } -int ime_event_set_focus_out_cb(ime_focus_out_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_focus_out_cb(ime_focus_out_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -569,7 +569,7 @@ int ime_event_set_focus_out_cb(ime_focus_out_cb callback_func, void *user_data) return IME_ERROR_NONE; } -int ime_event_set_surrounding_text_updated_cb(ime_surrounding_text_updated_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_surrounding_text_updated_cb(ime_surrounding_text_updated_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -590,7 +590,7 @@ int ime_event_set_surrounding_text_updated_cb(ime_surrounding_text_updated_cb ca return IME_ERROR_NONE; } -int ime_event_set_input_context_reset_cb(ime_input_context_reset_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_input_context_reset_cb(ime_input_context_reset_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -611,7 +611,7 @@ int ime_event_set_input_context_reset_cb(ime_input_context_reset_cb callback_fun return IME_ERROR_NONE; } -int ime_event_set_cursor_position_updated_cb(ime_cursor_position_updated_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_cursor_position_updated_cb(ime_cursor_position_updated_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -632,7 +632,7 @@ int ime_event_set_cursor_position_updated_cb(ime_cursor_position_updated_cb call return IME_ERROR_NONE; } -int ime_event_set_language_requested_cb(ime_language_requested_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_language_requested_cb(ime_language_requested_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -653,7 +653,7 @@ int ime_event_set_language_requested_cb(ime_language_requested_cb callback_func, return IME_ERROR_NONE; } -int ime_event_set_language_set_cb(ime_language_set_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_language_set_cb(ime_language_set_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -674,7 +674,7 @@ int ime_event_set_language_set_cb(ime_language_set_cb callback_func, void *user_ return IME_ERROR_NONE; } -int ime_event_set_imdata_set_cb(ime_imdata_set_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_imdata_set_cb(ime_imdata_set_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -695,7 +695,7 @@ int ime_event_set_imdata_set_cb(ime_imdata_set_cb callback_func, void *user_data return IME_ERROR_NONE; } -int ime_event_set_imdata_requested_cb(ime_imdata_requested_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_imdata_requested_cb(ime_imdata_requested_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -716,7 +716,7 @@ int ime_event_set_imdata_requested_cb(ime_imdata_requested_cb callback_func, voi return IME_ERROR_NONE; } -int ime_event_set_layout_set_cb(ime_layout_set_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_layout_set_cb(ime_layout_set_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -737,7 +737,7 @@ int ime_event_set_layout_set_cb(ime_layout_set_cb callback_func, void *user_data return IME_ERROR_NONE; } -int ime_event_set_return_key_type_set_cb(ime_return_key_type_set_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_return_key_type_set_cb(ime_return_key_type_set_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -758,7 +758,7 @@ int ime_event_set_return_key_type_set_cb(ime_return_key_type_set_cb callback_fun return IME_ERROR_NONE; } -int ime_event_set_return_key_state_set_cb(ime_return_key_state_set_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_return_key_state_set_cb(ime_return_key_state_set_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -779,7 +779,7 @@ int ime_event_set_return_key_state_set_cb(ime_return_key_state_set_cb callback_f return IME_ERROR_NONE; } -int ime_event_set_geometry_requested_cb(ime_geometry_requested_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_geometry_requested_cb(ime_geometry_requested_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -800,7 +800,7 @@ int ime_event_set_geometry_requested_cb(ime_geometry_requested_cb callback_func, return IME_ERROR_NONE; } -int ime_event_set_process_key_event_cb(ime_process_key_event_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_process_key_event_cb(ime_process_key_event_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -821,7 +821,7 @@ int ime_event_set_process_key_event_cb(ime_process_key_event_cb callback_func, v return IME_ERROR_NONE; } -int ime_event_set_display_language_changed_cb(ime_display_language_changed_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_display_language_changed_cb(ime_display_language_changed_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -842,7 +842,7 @@ int ime_event_set_display_language_changed_cb(ime_display_language_changed_cb ca return IME_ERROR_NONE; } -int ime_event_set_rotation_degree_changed_cb(ime_rotation_degree_changed_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_rotation_degree_changed_cb(ime_rotation_degree_changed_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -863,7 +863,7 @@ int ime_event_set_rotation_degree_changed_cb(ime_rotation_degree_changed_cb call return IME_ERROR_NONE; } -int ime_event_set_accessibility_state_changed_cb(ime_accessibility_state_changed_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_accessibility_state_changed_cb(ime_accessibility_state_changed_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -884,7 +884,7 @@ int ime_event_set_accessibility_state_changed_cb(ime_accessibility_state_changed return IME_ERROR_NONE; } -int ime_event_set_option_window_created_cb(ime_option_window_created_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_option_window_created_cb(ime_option_window_created_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -905,7 +905,7 @@ int ime_event_set_option_window_created_cb(ime_option_window_created_cb callback return IME_ERROR_NONE; } -int ime_event_set_option_window_destroyed_cb(ime_option_window_destroyed_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_option_window_destroyed_cb(ime_option_window_destroyed_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -926,7 +926,7 @@ int ime_event_set_option_window_destroyed_cb(ime_option_window_destroyed_cb call return IME_ERROR_NONE; } -int ime_event_set_caps_mode_changed_cb(ime_caps_mode_changed_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_caps_mode_changed_cb(ime_caps_mode_changed_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -947,7 +947,7 @@ int ime_event_set_caps_mode_changed_cb(ime_caps_mode_changed_cb callback_func, v return IME_ERROR_NONE; } -int ime_event_set_candidate_show_cb(ime_candidate_show_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_candidate_show_cb(ime_candidate_show_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -968,7 +968,7 @@ int ime_event_set_candidate_show_cb(ime_candidate_show_cb callback_func, void *u return IME_ERROR_NONE; } -int ime_event_set_candidate_hide_cb(ime_candidate_hide_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_candidate_hide_cb(ime_candidate_hide_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -989,7 +989,7 @@ int ime_event_set_candidate_hide_cb(ime_candidate_hide_cb callback_func, void *u return IME_ERROR_NONE; } -int ime_event_set_lookup_table_changed_cb(ime_lookup_table_changed_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_lookup_table_changed_cb(ime_lookup_table_changed_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -1010,7 +1010,7 @@ int ime_event_set_lookup_table_changed_cb(ime_lookup_table_changed_cb callback_f return IME_ERROR_NONE; } -int ime_send_key_event(ime_key_code_e keycode, ime_key_mask_e keymask, bool forward_key) +EXPORT_API int ime_send_key_event(ime_key_code_e keycode, ime_key_mask_e keymask, bool forward_key) { ime_error_e retVal = IME_ERROR_NONE; @@ -1033,7 +1033,7 @@ int ime_send_key_event(ime_key_code_e keycode, ime_key_mask_e keymask, bool forw return IME_ERROR_NONE; } -int ime_commit_string(const char *str) +EXPORT_API int ime_commit_string(const char *str) { ime_error_e retVal = IME_ERROR_NONE; @@ -1058,7 +1058,7 @@ int ime_commit_string(const char *str) return IME_ERROR_NONE; } -int ime_show_preedit_string(void) +EXPORT_API int ime_show_preedit_string(void) { ime_error_e retVal = IME_ERROR_NONE; @@ -1078,7 +1078,7 @@ int ime_show_preedit_string(void) return IME_ERROR_NONE; } -int ime_hide_preedit_string(void) +EXPORT_API int ime_hide_preedit_string(void) { ime_error_e retVal = IME_ERROR_NONE; @@ -1098,7 +1098,7 @@ int ime_hide_preedit_string(void) return IME_ERROR_NONE; } -int ime_update_preedit_string(const char *str, Eina_List *attrs) +EXPORT_API int ime_update_preedit_string(const char *str, Eina_List *attrs) { ime_error_e retVal = IME_ERROR_NONE; @@ -1137,7 +1137,7 @@ int ime_update_preedit_string(const char *str, Eina_List *attrs) return IME_ERROR_NONE; } -int ime_request_surrounding_text(int maxlen_before, int maxlen_after) +EXPORT_API int ime_request_surrounding_text(int maxlen_before, int maxlen_after) { ime_error_e retVal = IME_ERROR_NONE; @@ -1162,7 +1162,7 @@ int ime_request_surrounding_text(int maxlen_before, int maxlen_after) return IME_ERROR_NONE; } -int ime_delete_surrounding_text(int offset, int len) +EXPORT_API int ime_delete_surrounding_text(int offset, int len) { ime_error_e retVal = IME_ERROR_NONE; @@ -1187,7 +1187,7 @@ int ime_delete_surrounding_text(int offset, int len) return IME_ERROR_NONE; } -int ime_get_surrounding_text(int maxlen_before, int maxlen_after, char **text, int *cursor_pos) +EXPORT_API int ime_get_surrounding_text(int maxlen_before, int maxlen_after, char **text, int *cursor_pos) { ime_error_e retVal = IME_ERROR_NONE; @@ -1221,7 +1221,7 @@ int ime_get_surrounding_text(int maxlen_before, int maxlen_after, char **text, i return IME_ERROR_NONE; } -int ime_set_selection(int start, int end) +EXPORT_API int ime_set_selection(int start, int end) { ime_error_e retVal = IME_ERROR_NONE; @@ -1246,7 +1246,7 @@ int ime_set_selection(int start, int end) return IME_ERROR_NONE; } -Evas_Object* ime_get_main_window(void) +EXPORT_API Evas_Object* ime_get_main_window(void) { ime_error_e retVal = IME_ERROR_NONE; @@ -1276,7 +1276,7 @@ Evas_Object* ime_get_main_window(void) return win; } -int ime_set_size(int portrait_width, int portrait_height, int landscape_width, int landscape_height) +EXPORT_API int ime_set_size(int portrait_width, int portrait_height, int landscape_width, int landscape_height) { ime_error_e retVal = IME_ERROR_NONE; @@ -1309,7 +1309,7 @@ int ime_set_size(int portrait_width, int portrait_height, int landscape_width, i return IME_ERROR_NONE; } -int ime_create_option_window(void) +EXPORT_API int ime_create_option_window(void) { ime_error_e retVal = IME_ERROR_NONE; @@ -1337,7 +1337,7 @@ int ime_create_option_window(void) } } -int ime_destroy_option_window(Evas_Object *window) +EXPORT_API int ime_destroy_option_window(Evas_Object *window) { ime_error_e retVal = IME_ERROR_NONE; @@ -1367,7 +1367,7 @@ int ime_destroy_option_window(Evas_Object *window) return IME_ERROR_NONE; } -int ime_set_imengine(const char *engine_id) +EXPORT_API int ime_set_imengine(const char *engine_id) { ime_error_e retVal = IME_ERROR_NONE; @@ -1387,7 +1387,7 @@ int ime_set_imengine(const char *engine_id) return IME_ERROR_NONE; } -int ime_flush_imengine() +EXPORT_API int ime_flush_imengine() { ime_error_e retVal = IME_ERROR_NONE; @@ -1407,7 +1407,7 @@ int ime_flush_imengine() return IME_ERROR_NONE; } -int ime_reset_imengine() +EXPORT_API int ime_reset_imengine() { ime_error_e retVal = IME_ERROR_NONE; @@ -1427,7 +1427,7 @@ int ime_reset_imengine() return IME_ERROR_NONE; } -int ime_update_input_context(unsigned int type, unsigned int value) +EXPORT_API int ime_update_input_context(unsigned int type, unsigned int value) { ime_error_e retVal = IME_ERROR_NONE; @@ -1447,7 +1447,7 @@ int ime_update_input_context(unsigned int type, unsigned int value) return IME_ERROR_NONE; } -int ime_request_hide() +EXPORT_API int ime_request_hide() { ime_error_e retVal = IME_ERROR_NONE; @@ -1467,7 +1467,7 @@ int ime_request_hide() return IME_ERROR_NONE; } -int ime_initialize() +EXPORT_API int ime_initialize() { ime_error_e retVal = IME_ERROR_NONE; @@ -1482,7 +1482,7 @@ int ime_initialize() return retVal; } -int ime_prepare() +EXPORT_API int ime_prepare() { ime_error_e retVal = IME_ERROR_NONE; @@ -1504,7 +1504,7 @@ int ime_prepare() return retVal; } -int ime_finalize() +EXPORT_API int ime_finalize() { ime_error_e retVal = IME_ERROR_NONE; @@ -1519,7 +1519,7 @@ int ime_finalize() return retVal; } -int ime_select_candidate(unsigned int index) +EXPORT_API int ime_select_candidate(unsigned int index) { ime_error_e retVal = IME_ERROR_NONE; @@ -1539,7 +1539,7 @@ int ime_select_candidate(unsigned int index) return IME_ERROR_NONE; } -int ime_send_private_command(const char *command) +EXPORT_API int ime_send_private_command(const char *command) { ime_error_e retVal = IME_ERROR_NONE; @@ -1564,7 +1564,7 @@ int ime_send_private_command(const char *command) return IME_ERROR_NONE; } -int ime_commit_content(const char *content, const char *description, const char *mime_types) +EXPORT_API int ime_commit_content(const char *content, const char *description, const char *mime_types) { ime_error_e retVal = IME_ERROR_NONE; @@ -1589,7 +1589,7 @@ int ime_commit_content(const char *content, const char *description, const char return IME_ERROR_NONE; } -int ime_context_get_layout(ime_context_h context, Ecore_IMF_Input_Panel_Layout *layout) +EXPORT_API int ime_context_get_layout(ime_context_h context, Ecore_IMF_Input_Panel_Layout *layout) { ime_error_e retVal = IME_ERROR_NONE; @@ -1614,7 +1614,7 @@ int ime_context_get_layout(ime_context_h context, Ecore_IMF_Input_Panel_Layout * return IME_ERROR_NONE; } -int ime_context_get_layout_variation(ime_context_h context, ime_layout_variation_e *layout_variation) +EXPORT_API int ime_context_get_layout_variation(ime_context_h context, ime_layout_variation_e *layout_variation) { ime_error_e retVal = IME_ERROR_NONE; @@ -1639,7 +1639,7 @@ int ime_context_get_layout_variation(ime_context_h context, ime_layout_variation return IME_ERROR_NONE; } -int ime_context_get_cursor_position(ime_context_h context, int *cursor_pos) +EXPORT_API int ime_context_get_cursor_position(ime_context_h context, int *cursor_pos) { ime_error_e retVal = IME_ERROR_NONE; @@ -1664,7 +1664,7 @@ int ime_context_get_cursor_position(ime_context_h context, int *cursor_pos) return IME_ERROR_NONE; } -int ime_context_get_autocapital_type(ime_context_h context, Ecore_IMF_Autocapital_Type *autocapital_type) +EXPORT_API int ime_context_get_autocapital_type(ime_context_h context, Ecore_IMF_Autocapital_Type *autocapital_type) { ime_error_e retVal = IME_ERROR_NONE; @@ -1689,7 +1689,7 @@ int ime_context_get_autocapital_type(ime_context_h context, Ecore_IMF_Autocapita return IME_ERROR_NONE; } -int ime_context_get_return_key_type(ime_context_h context, Ecore_IMF_Input_Panel_Return_Key_Type *return_key_type) +EXPORT_API int ime_context_get_return_key_type(ime_context_h context, Ecore_IMF_Input_Panel_Return_Key_Type *return_key_type) { ime_error_e retVal = IME_ERROR_NONE; @@ -1714,7 +1714,7 @@ int ime_context_get_return_key_type(ime_context_h context, Ecore_IMF_Input_Panel return IME_ERROR_NONE; } -int ime_context_get_return_key_state(ime_context_h context, bool *return_key_state) +EXPORT_API int ime_context_get_return_key_state(ime_context_h context, bool *return_key_state) { ime_error_e retVal = IME_ERROR_NONE; @@ -1739,7 +1739,7 @@ int ime_context_get_return_key_state(ime_context_h context, bool *return_key_sta return IME_ERROR_NONE; } -int ime_context_get_prediction_mode(ime_context_h context, bool *prediction_mode) +EXPORT_API int ime_context_get_prediction_mode(ime_context_h context, bool *prediction_mode) { ime_error_e retVal = IME_ERROR_NONE; @@ -1764,7 +1764,7 @@ int ime_context_get_prediction_mode(ime_context_h context, bool *prediction_mode return IME_ERROR_NONE; } -int ime_context_get_password_mode(ime_context_h context, bool *password_mode) +EXPORT_API int ime_context_get_password_mode(ime_context_h context, bool *password_mode) { ime_error_e retVal = IME_ERROR_NONE; @@ -1789,7 +1789,7 @@ int ime_context_get_password_mode(ime_context_h context, bool *password_mode) return IME_ERROR_NONE; } -int ime_context_get_input_hint(ime_context_h context, Ecore_IMF_Input_Hints *input_hint) +EXPORT_API int ime_context_get_input_hint(ime_context_h context, Ecore_IMF_Input_Hints *input_hint) { ime_error_e retVal = IME_ERROR_NONE; @@ -1814,7 +1814,7 @@ int ime_context_get_input_hint(ime_context_h context, Ecore_IMF_Input_Hints *inp return IME_ERROR_NONE; } -int ime_context_get_bidi_direction(ime_context_h context, Ecore_IMF_BiDi_Direction *bidi) +EXPORT_API int ime_context_get_bidi_direction(ime_context_h context, Ecore_IMF_BiDi_Direction *bidi) { ime_error_e retVal = IME_ERROR_NONE; @@ -1839,7 +1839,7 @@ int ime_context_get_bidi_direction(ime_context_h context, Ecore_IMF_BiDi_Directi return IME_ERROR_NONE; } -int ime_context_get_language(ime_context_h context, Ecore_IMF_Input_Panel_Lang *language) +EXPORT_API int ime_context_get_language(ime_context_h context, Ecore_IMF_Input_Panel_Lang *language) { ime_error_e retVal = IME_ERROR_NONE; @@ -1864,7 +1864,7 @@ int ime_context_get_language(ime_context_h context, Ecore_IMF_Input_Panel_Lang * return IME_ERROR_NONE; } -int ime_context_get_caps_mode(ime_context_h context, bool *caps_mode) +EXPORT_API int ime_context_get_caps_mode(ime_context_h context, bool *caps_mode) { ime_error_e retVal = IME_ERROR_NONE; @@ -1889,7 +1889,7 @@ int ime_context_get_caps_mode(ime_context_h context, bool *caps_mode) return IME_ERROR_NONE; } -int ime_device_info_get_name(ime_device_info_h dev_info, char **dev_name) +EXPORT_API int ime_device_info_get_name(ime_device_info_h dev_info, char **dev_name) { ime_error_e retVal = IME_ERROR_NONE; @@ -1917,7 +1917,7 @@ int ime_device_info_get_name(ime_device_info_h dev_info, char **dev_name) return IME_ERROR_NONE; } -int ime_device_info_get_class(ime_device_info_h dev_info, Ecore_IMF_Device_Class *dev_class) +EXPORT_API int ime_device_info_get_class(ime_device_info_h dev_info, Ecore_IMF_Device_Class *dev_class) { ime_error_e retVal = IME_ERROR_NONE; @@ -1942,7 +1942,7 @@ int ime_device_info_get_class(ime_device_info_h dev_info, Ecore_IMF_Device_Class return IME_ERROR_NONE; } -int ime_device_info_get_subclass(ime_device_info_h dev_info, Ecore_IMF_Device_Subclass *dev_subclass) +EXPORT_API int ime_device_info_get_subclass(ime_device_info_h dev_info, Ecore_IMF_Device_Subclass *dev_subclass) { ime_error_e retVal = IME_ERROR_NONE; @@ -1967,7 +1967,7 @@ int ime_device_info_get_subclass(ime_device_info_h dev_info, Ecore_IMF_Device_Su return IME_ERROR_NONE; } -int ime_event_set_process_input_device_event_cb(ime_process_input_device_event_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_process_input_device_event_cb(ime_process_input_device_event_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -1988,7 +1988,7 @@ int ime_event_set_process_input_device_event_cb(ime_process_input_device_event_c return IME_ERROR_NONE; } -int ime_event_unset_process_input_device_event_cb(void) +EXPORT_API int ime_event_unset_process_input_device_event_cb(void) { ime_error_e retVal = IME_ERROR_NONE; @@ -2005,7 +2005,7 @@ int ime_event_unset_process_input_device_event_cb(void) } /* Functions for Rotary input device event */ -int ime_input_device_rotary_get_direction(ime_input_device_event_h event_handle, ime_input_device_rotary_direction_e *direction) +EXPORT_API int ime_input_device_rotary_get_direction(ime_input_device_event_h event_handle, ime_input_device_rotary_direction_e *direction) { ime_error_e retVal = IME_ERROR_NONE; @@ -2044,7 +2044,7 @@ int ime_input_device_rotary_get_direction(ime_input_device_event_h event_handle, return IME_ERROR_NONE; } -int ime_event_set_prediction_hint_set_cb(ime_prediction_hint_set_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_prediction_hint_set_cb(ime_prediction_hint_set_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -2065,7 +2065,7 @@ int ime_event_set_prediction_hint_set_cb(ime_prediction_hint_set_cb callback_fun return IME_ERROR_NONE; } -int ime_event_set_mime_type_cb(ime_mime_type_set_cb callback_func, void *user_data) +EXPORT_API int ime_event_set_mime_type_cb(ime_mime_type_set_cb callback_func, void *user_data) { ime_error_e retVal = IME_ERROR_NONE; @@ -2086,7 +2086,7 @@ int ime_event_set_mime_type_cb(ime_mime_type_set_cb callback_func, void *user_da return IME_ERROR_NONE; } -int ime_set_floating_mode(bool floating_mode) +EXPORT_API int ime_set_floating_mode(bool floating_mode) { ime_error_e retVal = IME_ERROR_NONE;