From: Youngjae Cho Date: Fri, 10 May 2024 07:38:00 +0000 (+0900) Subject: Revert removal of enum hal_abi_version definition X-Git-Tag: accepted/tizen/unified/20240611.122614~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=caeea8440d4b02e24912e0031bf87d09889f9635;p=platform%2Fhal%2Fapi%2Fcommon.git Revert removal of enum hal_abi_version definition This has been removed since 70757d52a56abd1e9820c181bfe10aefbeee7caf. However, the definition is still required as the reference from another repository hasn't been totally removed yet. Those code referring the definition and the definition itself would be removed together. Change-Id: I6d985d2290d6aaf755e4dcca2b3a00f9820a7acb Signed-off-by: Youngjae Cho --- diff --git a/include/hal-common-interface.h b/include/hal-common-interface.h index c07f835..7ced1b6 100644 --- a/include/hal-common-interface.h +++ b/include/hal-common-interface.h @@ -23,6 +23,24 @@ extern "C" { #endif +enum hal_abi_version { + HAL_ABI_VERSION_UNKNOWN = 0, /* Deprecated */ + HAL_ABI_VERSION_TIZEN_6_5 = 1, /* Deprecated */ + HAL_ABI_VERSION_TIZEN_7_0 = 2, /* Deprecated */ + HAL_ABI_VERSION_TIZEN_7_5 = 3, /* Deprecated */ + HAL_ABI_VERSION_TIZEN_8_0 = 3, /* Deprecated */ + HAL_ABI_VERSION_TIZEN_9_0 = 4, /* Deprecated */ + HAL_ABI_VERSION_END, /* Deprecated */ +}; + +static const char *const hal_abi_version_str[] = { + [HAL_ABI_VERSION_UNKNOWN] = "Unknown HAL ABI Version", + [HAL_ABI_VERSION_TIZEN_6_5] = "HAL_ABI_VERSION_TIZEN_6_5", + [HAL_ABI_VERSION_TIZEN_7_0] = "HAL_ABI_VERSION_TIZEN_7_0", + [HAL_ABI_VERSION_TIZEN_8_0] = "HAL_ABI_VERSION_TIZEN_8_0", + [HAL_ABI_VERSION_TIZEN_9_0] = "HAL_ABI_VERSION_TIZEN_9_0", +}; + typedef struct __hal_backend { const char *name; const char *vendor;