From 9b03a020920b6f6c0d21d767e91ae56b28721714 Mon Sep 17 00:00:00 2001 From: bailu1992 Date: Tue, 25 Jun 2024 16:16:59 +0800 Subject: [PATCH] capi header file adds kit tag Signed-off-by: bailu1992 --- interfaces/kits/c/vibrator.h | 2 +- interfaces/kits/c/vibrator_type.h | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/interfaces/kits/c/vibrator.h b/interfaces/kits/c/vibrator.h index e01fe0e..ee1273d 100644 --- a/interfaces/kits/c/vibrator.h +++ b/interfaces/kits/c/vibrator.h @@ -23,7 +23,7 @@ /** * @file vibrator.h - * + * @kit SensorServiceKit * @brief Declares the APIs for starting or stopping vibration. * @library libohvibrator.z.so * @syscap SystemCapability.Sensors.MiscDevice diff --git a/interfaces/kits/c/vibrator_type.h b/interfaces/kits/c/vibrator_type.h index 93b7b8b..e57a5d5 100644 --- a/interfaces/kits/c/vibrator_type.h +++ b/interfaces/kits/c/vibrator_type.h @@ -13,6 +13,23 @@ * limitations under the License. */ +/** + * @addtogroup Vibrator + * @{ + * + * @brief Provides the enums, structs, and error codes used in the vibrator APIs. + * @since 11 + */ + +/** + * @file vibrator_type.h + * @kit SensorServiceKit + * @brief Declares the common vibrator attributes. + * @library libohvibrator.z.so + * @syscap SystemCapability.Sensors.MiscDevice + * @since 11 + */ + #ifndef VIBRATOR_TYPE_H #define VIBRATOR_TYPE_H @@ -86,5 +103,5 @@ typedef struct Vibrator_FileDescription { #ifdef __cplusplus } #endif - +/** @} */ #endif // endif VIBRATOR_TYPE_H \ No newline at end of file -- Gitee