!1682 添加addtogroup

Merge pull request !1682 from sjh/master
This commit is contained in:
openharmony_ci 2024-11-18 12:24:43 +00:00 committed by Gitee
commit ab222c4677
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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
/** @} */