From 61dd8a63b45efb2d098f02d57ab41c58601938a3 Mon Sep 17 00:00:00 2001 From: wangbowen36 Date: Thu, 11 Jul 2024 11:26:35 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90NAPI=E3=80=91Add=20kit=20tags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wangbowen36 --- arkui/napi/common.h | 23 ++++++++++++++++++++++- arkui/napi/native_api.h | 21 +++++++++++++++++++++ 2 files changed, 43 insertions(+), 1 deletion(-) diff --git a/arkui/napi/common.h b/arkui/napi/common.h index e5e5c8d5e..2eaa9299d 100644 --- a/arkui/napi/common.h +++ b/arkui/napi/common.h @@ -13,6 +13,26 @@ * limitations under the License. */ +/** + * @addtogroup ArkTS_NapiModule + * @{ + * + * @brief Provides Napi of ArkTS. + * + * @since 12 + */ + +/** + * @file common.h + * + * @brief This file contains common enums for the ArkTS napi. + * + * @library NA + * @syscap SystemCapability.ArkUI.ArkUI.Napi + * @kit ArkTS + * @since 12 + */ + #ifndef FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_COMMON_H #define FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_COMMON_H @@ -67,4 +87,5 @@ typedef enum { napi_priority_idle = 3, } napi_task_priority; -#endif /* FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_NATIVE_API_H */ \ No newline at end of file +#endif /* FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_NATIVE_API_H */ +/** @} */ \ No newline at end of file diff --git a/arkui/napi/native_api.h b/arkui/napi/native_api.h index 7cbab661d..9c439b2d7 100644 --- a/arkui/napi/native_api.h +++ b/arkui/napi/native_api.h @@ -13,6 +13,26 @@ * limitations under the License. */ +/** + * @addtogroup ArkTS_NapiModule + * @{ + * + * @brief Provides Napi of ArkTS. + * + * @since 12 + */ + +/** + * @file native_api.h + * + * @brief Provides functions for the ArkTS napi. + * + * @library NA + * @syscap SystemCapability.ArkUI.ArkUI.Napi + * @kit ArkTS + * @since 12 + */ + #ifndef FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_NATIVE_API_H #define FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_NATIVE_API_H @@ -392,3 +412,4 @@ NAPI_EXTERN napi_status napi_call_threadsafe_function_with_priority(napi_threads } #endif #endif /* FOUNDATION_ACE_NAPI_INTERFACES_KITS_NAPI_NATIVE_API_H */ +/** @} */ \ No newline at end of file -- Gitee