add addtogroup

Signed-off-by: s00659936 <282229496@qq.com>
Change-Id: If723cfaaa9240e53d954a1e8de3e69f126526a2e
This commit is contained in:
s00659936 2024-11-09 10:58:20 +08:00
parent e5c945c729
commit 512508aec4
3 changed files with 36 additions and 6 deletions

View File

@ -13,8 +13,14 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef NATIVE_TELEPHONY_DATA_API_H /**
#define NATIVE_TELEPHONY_DATA_API_H * @addtogroup Telephony
* @{
*
* @brief Provides C interface for the telephony cellular data.
*
* @since 13
*/
/** /**
* @file telephony_data.h * @file telephony_data.h
@ -27,6 +33,9 @@
* @since 13 * @since 13
*/ */
#ifndef NATIVE_TELEPHONY_DATA_API_H
#define NATIVE_TELEPHONY_DATA_API_H
#include <stdint.h> #include <stdint.h>
#ifdef __cplusplus #ifdef __cplusplus
@ -47,3 +56,4 @@ int32_t OH_Telephony_GetDefaultCellularDataSlotId(void);
#endif #endif
#endif // NATIVE_TELEPHONY_DATA_API_H #endif // NATIVE_TELEPHONY_DATA_API_H
/** @} */

View File

@ -13,8 +13,14 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef NATIVE_TELEPHONY_RADIO_API_H /**
#define NATIVE_TELEPHONY_RADIO_API_H * @addtogroup Telephony
* @{
*
* @brief Provides C interface for the telephony radio.
*
* @since 13
*/
/** /**
* @file telephony_radio.h * @file telephony_radio.h
@ -27,6 +33,9 @@
* @since 13 * @since 13
*/ */
#ifndef NATIVE_TELEPHONY_RADIO_API_H
#define NATIVE_TELEPHONY_RADIO_API_H
#include "telephony_radio_type.h" #include "telephony_radio_type.h"
#include "stdint.h" #include "stdint.h"
@ -72,3 +81,4 @@ Telephony_RadioResult OH_Telephony_GetNetworkStateForSlot(int32_t slotId, Teleph
#endif #endif
#endif // NATIVE_TELEPHONY_RADIO_API_H #endif // NATIVE_TELEPHONY_RADIO_API_H
/** @} */

View File

@ -13,8 +13,14 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef NATIVE_TELEPHONY_RADIO_TYPE_H /**
#define NATIVE_TELEPHONY_RADIO_TYPE_H * @addtogroup Telephony
* @{
*
* @brief Provides the data structures for the C APIs of the the telephony radio.
*
* @since 13
*/
/** /**
* @file telephony_radio_type.h * @file telephony_radio_type.h
@ -27,6 +33,9 @@
* @since 13 * @since 13
*/ */
#ifndef NATIVE_TELEPHONY_RADIO_TYPE_H
#define NATIVE_TELEPHONY_RADIO_TYPE_H
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
@ -155,3 +164,4 @@ typedef struct {
#endif #endif
#endif // NATIVE_TELEPHONY_RADIO_TYPE_H #endif // NATIVE_TELEPHONY_RADIO_TYPE_H
/** @} */