diff options
Diffstat (limited to 'include/app_resource_manager.h')
-rw-r--r-- | include/app_resource_manager.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/app_resource_manager.h b/include/app_resource_manager.h index d282459..927f00b 100644 --- a/include/app_resource_manager.h +++ b/include/app_resource_manager.h @@ -46,6 +46,7 @@ typedef enum { /*add values between APP_RESOURCE_TYPE_MIN and APP_RESOURCE_TYPE_MAX*/ } app_resource_e; + /** * @brief Enumeration for App Resource Manager Error. * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif @@ -57,11 +58,12 @@ typedef enum { APP_RESOURCE_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR, /**< I/O error */ } app_resource_error_e; + /** * @brief Creates resource manager and get from db. * * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif - * @remarks If resource manager is already exist, + * @remarks If resource manager already exists, * It will just return APP_RESOURCE_ERROR_NONE * @return @c 0 on success, * otherwise a negative error value @@ -72,8 +74,9 @@ typedef enum { */ int app_resource_manager_init(void); + /** - * @brief Convert resource ID to path name + * @brief Converts resource ID to path name * * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif * @remarks If resource manager is not created yet, @@ -92,12 +95,13 @@ int app_resource_manager_init(void); */ int app_resource_manager_get(app_resource_e type, const char *id, char **path); + /** * @brief Destroys resource manager. * * @since_tizen @if MOBILE 2.4 @elseif WEARABLE 3.0 @endif - * @remarks Please make sure that the instance of resource manager should be released when the application is closing only. - * It is highly recommended way to improve run-time performance. + * @remarks Please note that the instance of resource manager should only be released when the application is closing. + * It is a highly recommended way to improve run-time performance. * @return @c 0 on success, * otherwise a negative error value * @retval #APP_RESOURCE_ERROR_NONE Successful @@ -105,10 +109,12 @@ int app_resource_manager_get(app_resource_e type, const char *id, char **path); */ int app_resource_manager_release(void); + /** * @} */ + #ifdef __cplusplus } #endif |