Fix issues detected by header check script 30/192630/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Wed, 7 Nov 2018 06:34:25 +0000 (15:34 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Wed, 7 Nov 2018 06:34:25 +0000 (15:34 +0900)
Change-Id: I35d0c484b95303f8642554e3defbf01f3abf0fbd
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
include/inputmethod_manager.h
src/inputmethod_manager.cpp

index f7c6267..bc043b6 100755 (executable)
@@ -60,7 +60,7 @@ typedef enum {
  * @retval #IME_MANAGER_ERROR_OPERATION_FAILED Operation failed
  * @see ime_manager_show_ime_selector()
  */
-EXPORT_API int ime_manager_show_ime_list(void);
+int ime_manager_show_ime_list(void);
 
 
 /**
@@ -76,7 +76,7 @@ EXPORT_API int ime_manager_show_ime_list(void);
  * @retval #IME_MANAGER_ERROR_OPERATION_FAILED Operation failed
  * @see ime_manager_show_ime_list()
  */
-EXPORT_API int ime_manager_show_ime_selector(void);
+int ime_manager_show_ime_selector(void);
 
 
 /**
@@ -95,15 +95,15 @@ EXPORT_API int ime_manager_show_ime_selector(void);
  * @retval #IME_MANAGER_ERROR_OPERATION_FAILED Operation failed
  * @see ime_manager_show_ime_list()
  */
-EXPORT_API int ime_manager_is_ime_enabled(const char *app_id, bool *enabled);
+int ime_manager_is_ime_enabled(const char *app_id, bool *enabled);
 
 
 /**
  * @brief Checks which IME is the current activated (selected) IME.
  * @since_tizen @if MOBILE 2.4 @else 3.0 @endif
- * @remarks @a app_id must be released using free().
  * @privlevel public
  * @privilege %http://tizen.org/privilege/imemanager
+ * @remarks @a app_id must be released using free().
  * @param[out] app_id The application ID of the active IME
  * @return @c 0 on success,
  *         otherwise a negative error value
@@ -113,25 +113,25 @@ EXPORT_API int ime_manager_is_ime_enabled(const char *app_id, bool *enabled);
  * @retval #IME_MANAGER_ERROR_OPERATION_FAILED Operation failed
  * @see ime_manager_show_ime_selector()
  */
-EXPORT_API int ime_manager_get_active_ime(char **app_id);
+int ime_manager_get_active_ime(char **app_id);
 
 
 /**
  * @brief Gets the number of IMEs which are enabled (usable).
  * @since_tizen 3.0
- * @remarks The specific error code can be obtained using the get_last_result() method.
- *          Error codes are described in Exception section.
  * @privlevel public
  * @privilege %http://tizen.org/privilege/imemanager
- * @return The @a number of enabled IMEs on success,
+ * @remarks The specific error code can be obtained using the get_last_result() method.
+ *          Error codes are described in Exception section.
+ * @return The number of enabled IMEs on success,
            otherwise @c 0
- * @exception IME_MANAGER_ERROR_NONE Successful
- * @exception IME_MANAGER_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
- * @exception IME_MANAGER_ERROR_OPERATION_FAILED Operation failed
+ * @exception #IME_MANAGER_ERROR_NONE Successful
+ * @exception #IME_MANAGER_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
+ * @exception #IME_MANAGER_ERROR_OPERATION_FAILED Operation failed
  * @see ime_manager_is_ime_enabled()
  * @see ime_manager_show_ime_selector()
  */
-EXPORT_API int ime_manager_get_enabled_ime_count(void);
+int ime_manager_get_enabled_ime_count(void);
 
 /**
  * @brief Requests to pre-launch the IME.
@@ -145,7 +145,7 @@ EXPORT_API int ime_manager_get_enabled_ime_count(void);
  * @retval #IME_MANAGER_ERROR_PERMISSION_DENIED The application does not have the privilege to call this function
  * @retval #IME_MANAGER_ERROR_OPERATION_FAILED Operation failed
  */
-EXPORT_API int ime_manager_prelaunch_ime(void);
+int ime_manager_prelaunch_ime(void);
 
 
 /**
index 63fdab7..412cda1 100755 (executable)
@@ -47,7 +47,7 @@ ime_manager_error_e _check_privilege()
     return ret;
 }
 
-int ime_manager_show_ime_list(void)
+EXPORT_API int ime_manager_show_ime_list(void)
 {
     ime_manager_error_e retVal = IME_MANAGER_ERROR_NONE;
 
@@ -64,7 +64,7 @@ int ime_manager_show_ime_list(void)
     }
 }
 
-int ime_manager_show_ime_selector(void)
+EXPORT_API int ime_manager_show_ime_selector(void)
 {
     ime_manager_error_e retVal = IME_MANAGER_ERROR_NONE;
 
@@ -81,7 +81,7 @@ int ime_manager_show_ime_selector(void)
     }
 }
 
-int ime_manager_is_ime_enabled(const char *app_id, bool *enabled)
+EXPORT_API int ime_manager_is_ime_enabled(const char *app_id, bool *enabled)
 {
     ime_manager_error_e retVal = IME_MANAGER_ERROR_NONE;
 
@@ -102,7 +102,7 @@ int ime_manager_is_ime_enabled(const char *app_id, bool *enabled)
     return IME_MANAGER_ERROR_NONE;
 }
 
-int ime_manager_get_active_ime(char **app_id)
+EXPORT_API int ime_manager_get_active_ime(char **app_id)
 {
     ime_manager_error_e retVal = IME_MANAGER_ERROR_NONE;
 
@@ -123,7 +123,7 @@ int ime_manager_get_active_ime(char **app_id)
     return IME_MANAGER_ERROR_NONE;
 }
 
-int ime_manager_get_enabled_ime_count(void)
+EXPORT_API int ime_manager_get_enabled_ime_count(void)
 {
     ime_manager_error_e retVal = IME_MANAGER_ERROR_NONE;
     ime_info_s *ime_info = NULL;
@@ -152,7 +152,7 @@ int ime_manager_get_enabled_ime_count(void)
     return enable_ime_count;
 }
 
-int ime_manager_prelaunch_ime(void)
+EXPORT_API int ime_manager_prelaunch_ime(void)
 {
     ime_manager_error_e retVal = IME_MANAGER_ERROR_NONE;