Fix incorrect order of return value
[platform/core/api/inputmethod.git] / inputmethod / include / inputmethod_device_event.h
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