Revert removal of enum hal_abi_version definition 03/311003/2
authorYoungjae Cho <y0.cho@samsung.com>
Fri, 10 May 2024 07:38:00 +0000 (16:38 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 13 May 2024 03:22:56 +0000 (12:22 +0900)
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 <y0.cho@samsung.com>
include/hal-common-interface.h

index c07f835992990b273e2a0ef82d92db3204f82e88..7ced1b64787c120ec51fb1153182c9640acc653a 100644 (file)
 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;