Fix incorrect order of return value 02/214602/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 24 Sep 2019 11:04:05 +0000 (20:04 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 24 Sep 2019 11:04:05 +0000 (20:04 +0900)
Change-Id: I5d66ba3b8b955be4077df97421d2bcaa4e83a85b
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
inputmethod/include/inputmethod.h
inputmethod/include/inputmethod_device_event.h
inputmethod/include/inputmethod_internal.h

index 44e9350..945ff1e 100644 (file)
@@ -832,8 +832,8 @@ typedef struct {
  *
  * @return 0 if IME application ends successfully, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NO_CALLBACK_FUNCTION Necessary callback function is not set
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
@@ -940,8 +940,8 @@ int ime_run(ime_callback_s *basic_cb, void *user_data);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -968,8 +968,8 @@ int ime_event_set_focus_in_cb(ime_focus_in_cb callback_func, void *user_data);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -996,8 +996,8 @@ int ime_event_set_focus_out_cb(ime_focus_out_cb callback_func, void *user_data);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1024,8 +1024,8 @@ int ime_event_set_surrounding_text_updated_cb(ime_surrounding_text_updated_cb ca
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1052,8 +1052,8 @@ int ime_event_set_input_context_reset_cb(ime_input_context_reset_cb callback_fun
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
+  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
  * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1080,8 +1080,8 @@ int ime_event_set_cursor_position_updated_cb(ime_cursor_position_updated_cb call
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1108,8 +1108,8 @@ int ime_event_set_language_requested_cb(ime_language_requested_cb callback_func,
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1136,8 +1136,8 @@ int ime_event_set_language_set_cb(ime_language_set_cb callback_func, void *user_
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1165,8 +1165,8 @@ int ime_event_set_imdata_set_cb(ime_imdata_set_cb callback_func, void *user_data
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1194,8 +1194,8 @@ int ime_event_set_imdata_requested_cb(ime_imdata_requested_cb callback_func, voi
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1222,8 +1222,8 @@ int ime_event_set_layout_set_cb(ime_layout_set_cb callback_func, void *user_data
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1250,8 +1250,8 @@ int ime_event_set_return_key_type_set_cb(ime_return_key_type_set_cb callback_fun
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1278,8 +1278,8 @@ int ime_event_set_return_key_state_set_cb(ime_return_key_state_set_cb callback_f
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1306,8 +1306,8 @@ int ime_event_set_geometry_requested_cb(ime_geometry_requested_cb callback_func,
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1378,8 +1378,8 @@ int ime_event_set_process_key_event_cb(ime_process_key_event_cb callback_func, v
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1406,8 +1406,8 @@ int ime_event_set_process_key_event_with_keycode_cb(ime_process_key_event_with_k
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1434,8 +1434,8 @@ int ime_event_set_display_language_changed_cb(ime_display_language_changed_cb ca
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1462,8 +1462,8 @@ int ime_event_set_rotation_degree_changed_cb(ime_rotation_degree_changed_cb call
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1489,8 +1489,8 @@ int ime_event_set_accessibility_state_changed_cb(ime_accessibility_state_changed
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1516,8 +1516,8 @@ int ime_event_set_option_window_created_cb(ime_option_window_created_cb callback
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
@@ -1570,8 +1570,8 @@ int ime_send_key_event(ime_key_code_e keycode, ime_key_mask_e keymask, bool forw
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @see ime_show_preedit_string()
@@ -1636,8 +1636,8 @@ int ime_hide_preedit_string(void);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post This function is supposed to be followed by the ime_show_preedit_string() function.
@@ -1725,8 +1725,8 @@ int ime_request_surrounding_text(int maxlen_before, int maxlen_after);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @see ime_request_surrounding_text()
@@ -1751,8 +1751,8 @@ int ime_delete_surrounding_text(int offset, int len);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  * @retval #IME_ERROR_OUT_OF_MEMORY Failed to obtain text due to out of memory
  *
@@ -1774,8 +1774,8 @@ int ime_get_surrounding_text(int maxlen_before, int maxlen_after, char **text, i
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  */
 int ime_set_selection(int start, int end);
@@ -1798,8 +1798,8 @@ int ime_set_selection(int start, int end);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  */
 int ime_get_selected_text(char **text);
@@ -1847,8 +1847,8 @@ Evas_Object* ime_get_main_window(void);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @see ime_create_cb()
@@ -1905,8 +1905,8 @@ int ime_create_option_window(void);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NO_CALLBACK_FUNCTION Necessary callback function is not set
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
@@ -1940,8 +1940,8 @@ int ime_destroy_option_window(Evas_Object *window);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -1968,8 +1968,8 @@ int ime_context_get_layout(ime_context_h context, Ecore_IMF_Input_Panel_Layout *
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -1996,8 +1996,8 @@ int ime_context_get_layout_variation(ime_context_h context, ime_layout_variation
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -2024,8 +2024,8 @@ int ime_context_get_cursor_position(ime_context_h context, int *cursor_pos);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -2051,8 +2051,8 @@ int ime_context_get_autocapital_type(ime_context_h context, Ecore_IMF_Autocapita
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -2080,8 +2080,8 @@ int ime_context_get_return_key_type(ime_context_h context, Ecore_IMF_Input_Panel
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -2109,8 +2109,8 @@ int ime_context_get_return_key_state(ime_context_h context, bool *return_key_sta
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -2139,8 +2139,8 @@ int ime_context_get_prediction_mode(ime_context_h context, bool *prediction_mode
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -2169,8 +2169,8 @@ int ime_context_get_password_mode(ime_context_h context, bool *password_mode);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -2196,8 +2196,8 @@ int ime_context_get_input_hint(ime_context_h context, Ecore_IMF_Input_Hints *inp
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -2223,8 +2223,8 @@ int ime_context_get_bidi_direction(ime_context_h context, Ecore_IMF_BiDi_Directi
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -2249,8 +2249,8 @@ int ime_context_get_language(ime_context_h context, Ecore_IMF_Input_Panel_Lang *
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @see ime_process_key_event_cb()
@@ -2273,8 +2273,8 @@ int ime_device_info_get_name(ime_device_info_h dev_info, char **dev_name);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @see ime_process_key_event_cb()
@@ -2296,8 +2296,8 @@ int ime_device_info_get_class(ime_device_info_h dev_info, Ecore_IMF_Device_Class
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @see ime_process_key_event_cb()
@@ -2323,8 +2323,8 @@ int ime_device_info_get_subclass(ime_device_info_h dev_info, Ecore_IMF_Device_Su
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
  *
@@ -2350,8 +2350,8 @@ int ime_event_set_prediction_hint_set_cb(ime_prediction_hint_set_cb callback_fun
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
  *
@@ -2376,8 +2376,8 @@ int ime_event_set_mime_type_set_request_cb(ime_mime_type_set_request_cb callback
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  */
 int ime_send_private_command(const char *command);
@@ -2397,8 +2397,8 @@ int ime_send_private_command(const char *command);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @see ime_mime_type_set_request_cb()
@@ -2493,8 +2493,8 @@ int ime_set_floating_drag_end(void);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  *
  * @post The ime_run() function should be called to start the IME application's main loop.
  *
@@ -2533,8 +2533,8 @@ int ime_request_hide(void);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function.
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop is not started yet
  *
  * @see ime_event_type_e
index 8ecbd10..65c41cf 100644 (file)
@@ -103,8 +103,8 @@ typedef void(*ime_process_input_device_event_cb)(ime_input_device_type_e device_
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start to run IME application's main loop.
@@ -184,8 +184,8 @@ int ime_event_unset_process_input_device_event_cb(void);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet
  *
  * @see ime_rotary_input_device_direction_e
index 5e40eb4..ce60f48 100644 (file)
@@ -118,8 +118,8 @@ typedef void (*ime_optimization_hint_set_cb)(ime_optimization_hint_e hint, void
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start to run IME application's main loop.
@@ -140,8 +140,8 @@ int ime_event_set_caps_mode_changed_cb(ime_caps_mode_changed_cb callback_func, v
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start to run IME application's main loop.
@@ -167,8 +167,8 @@ int ime_event_set_candidate_hide_cb(ime_candidate_hide_cb callback_func, void *u
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start to run IME application's main loop.
@@ -193,8 +193,8 @@ int ime_event_set_lookup_table_changed_cb(ime_lookup_table_changed_cb callback_f
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet
  *
  * @post Input panel UI should be drawn or operated by this information accordingly.
@@ -214,8 +214,8 @@ int ime_context_get_caps_mode(ime_context_h context, bool *caps_mode);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_NOT_RUNNING IME main loop isn't started yet
  */
 int ime_set_imengine(const char *engine_id);
@@ -372,8 +372,8 @@ int ime_set_window_creation_defer_flag(bool flag);
  *
  * @return 0 on success, otherwise a negative error value
  * @retval #IME_ERROR_NONE No error
- * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
+ * @retval #IME_ERROR_INVALID_PARAMETER Invalid parameter
  * @retval #IME_ERROR_OPERATION_FAILED Operation failed
  *
  * @post The ime_run() function should be called to start to run IME application's main loop.