From 59eacfd2273661bc8363566cdead2a12daedddf7 Mon Sep 17 00:00:00 2001 From: Kichan Kwon Date: Fri, 17 Mar 2017 16:30:57 +0900 Subject: [PATCH] Proofread header file and modify comment about version. - It is decided that these APIs aren't supported at Tizen 2.4 Change-Id: I8044905cfc502f93b2beff33533de272be5df393 Signed-off-by: Kichan Kwon --- doc/runtime_info_doc.h | 11 +- include/runtime_info.h | 402 +++++++++++++++++++++++-------------------------- 2 files changed, 190 insertions(+), 223 deletions(-) diff --git a/doc/runtime_info_doc.h b/doc/runtime_info_doc.h index 77dbb8d..11d1ebf 100644 --- a/doc/runtime_info_doc.h +++ b/doc/runtime_info_doc.h @@ -18,20 +18,19 @@ #ifndef __TIZEN_SYSTEM_RUNTIME_INFO_DOC_H__ #define __TIZEN_SYSTEM_RUNTIME_INFO_DOC_H__ + /** * @ingroup CAPI_SYSTEM_FRAMEWORK * @defgroup CAPI_SYSTEM_RUNTIME_INFO_MODULE Runtime information - * @brief The Runtime Information API provides functions to obtain runtime information. - * + * @brief The Runtime Information API provides functions to obtain runtime information. * @section CAPI_SYSTEM_RUNTIME_INFO_MODULE_HEADER Required Header - * \#include + * \#include * * @section CAPI_SYSTEM_RUNTIME_INFO_MODULE_OVERVIEW Overview * The Runtime Information API provides functions to obtain runtime information, containing miscellaneous system preference. * The Runtime Information available is stored in key/value pairs, where there may be different data types for the value. - * * The runtime_info_set_changed_cb() registers a callback function for a particular key, which will be invoked by the System Service if the state matching that key changes. -* -*/ + */ + #endif /* __TIZEN_SYSTEM_RUNTIME_INFO_DOC_H__ */ diff --git a/include/runtime_info.h b/include/runtime_info.h index 1abb9b4..bf4bdca 100644 --- a/include/runtime_info.h +++ b/include/runtime_info.h @@ -24,48 +24,51 @@ extern "C" { #endif + /** * @addtogroup CAPI_SYSTEM_RUNTIME_INFO_MODULE * @{ */ + /** * @brief Enumeration for error codes for runtime information. * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif */ typedef enum { - RUNTIME_INFO_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ - RUNTIME_INFO_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */ - RUNTIME_INFO_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */ - RUNTIME_INFO_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR, /**< An input/output error occurred when read value from system */ - RUNTIME_INFO_ERROR_REMOTE_IO = TIZEN_ERROR_REMOTE_IO, /**< Remote I/O error occured */ - RUNTIME_INFO_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< No permission to use the api */ - RUNTIME_INFO_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported parameter */ + RUNTIME_INFO_ERROR_NONE = TIZEN_ERROR_NONE, /**< Successful */ + RUNTIME_INFO_ERROR_INVALID_PARAMETER = TIZEN_ERROR_INVALID_PARAMETER, /**< Invalid parameter */ + RUNTIME_INFO_ERROR_OUT_OF_MEMORY = TIZEN_ERROR_OUT_OF_MEMORY, /**< Out of memory */ + RUNTIME_INFO_ERROR_IO_ERROR = TIZEN_ERROR_IO_ERROR, /**< An input/output error occurred when read value from system */ + RUNTIME_INFO_ERROR_REMOTE_IO = TIZEN_ERROR_REMOTE_IO, /**< Remote I/O error occured */ + RUNTIME_INFO_ERROR_PERMISSION_DENIED = TIZEN_ERROR_PERMISSION_DENIED, /**< No permission to use the api */ + RUNTIME_INFO_ERROR_NOT_SUPPORTED = TIZEN_ERROR_NOT_SUPPORTED, /**< Not supported parameter */ RUNTIME_INFO_ERROR_NO_DATA = TIZEN_ERROR_NO_DATA /**< No data available (Since 3.0) */ } runtime_info_error_e; + /** - * @brief Enumeration for keys for runtime information.. + * @brief Enumeration for keys for runtime information. * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif */ typedef enum { - RUNTIME_INFO_KEY_BLUETOOTH_ENABLED = 2, /**