From e1c0026c7ae54fc19385faf0f4245ace71aa2616 Mon Sep 17 00:00:00 2001 From: Kichan Kwon Date: Thu, 16 Jun 2016 10:26:15 +0900 Subject: [PATCH] Add comments about return value and version information Change-Id: Id71487fe0570105e259f57b804a0076c5495626d Signed-off-by: Kichan Kwon --- include/runtime_info.h | 34 +++++++++++++++++++++------------- src/runtime_info_system.c | 2 +- src/runtime_info_usage.c | 8 ++++---- 3 files changed, 26 insertions(+), 18 deletions(-) diff --git a/include/runtime_info.h b/include/runtime_info.h index cf890cf..b4267a2 100644 --- a/include/runtime_info.h +++ b/include/runtime_info.h @@ -31,6 +31,7 @@ extern "C" /** * @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 */ @@ -39,11 +40,13 @@ typedef enum { 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 @if MOBILE (Since 2.3.1) @endif */ + 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.. + * @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif */ typedef enum { RUNTIME_INFO_KEY_BLUETOOTH_ENABLED = 2, /**