mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-27 00:41:01 +00:00
standardize rectification
Signed-off-by: liangqi <liangqi28@huawei.com>
This commit is contained in:
parent
b2f7a44ce2
commit
573796b004
@ -12,8 +12,6 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#ifndef DDK_API_H
|
||||
#define DDK_API_H
|
||||
|
||||
/**
|
||||
* @addtogroup Ddk
|
||||
@ -36,6 +34,9 @@
|
||||
* @since 12
|
||||
*/
|
||||
|
||||
#ifndef DDK_API_H
|
||||
#define DDK_API_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "ddk_types.h"
|
||||
|
||||
|
@ -12,8 +12,6 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#ifndef DDK_TYPES_H
|
||||
#define DDK_TYPES_H
|
||||
|
||||
/**
|
||||
* @addtogroup Ddk
|
||||
@ -36,6 +34,9 @@
|
||||
* @since 12
|
||||
*/
|
||||
|
||||
#ifndef DDK_TYPES_H
|
||||
#define DDK_TYPES_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -12,8 +12,6 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#ifndef HID_DDK_API_H
|
||||
#define HID_DDK_API_H
|
||||
|
||||
/**
|
||||
* @addtogroup HidDdk
|
||||
@ -32,11 +30,16 @@
|
||||
* @brief Declares the HID DDK interfaces for the host to access an input device.
|
||||
*
|
||||
* @kit DriverDevelopmentKit
|
||||
* @library libhid.z.so
|
||||
* @syscap SystemCapability.Driver.HID.Extension
|
||||
* File to include: <hid/hid_ddk_api.h>
|
||||
* @since 11
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
#ifndef HID_DDK_API_H
|
||||
#define HID_DDK_API_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include "hid_ddk_types.h"
|
||||
|
||||
@ -100,7 +103,7 @@ int32_t OH_Hid_EmitEvent(int32_t deviceId, const Hid_EmitItem items[], uint16_t
|
||||
* @version 1.0
|
||||
*/
|
||||
int32_t OH_Hid_DestroyDevice(int32_t deviceId);
|
||||
|
||||
/** @} */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
@ -13,8 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef HID_DDK_TYPES_H
|
||||
#define HID_DDK_TYPES_H
|
||||
/**
|
||||
* @addtogroup HidDdk
|
||||
* @{
|
||||
@ -33,10 +31,15 @@
|
||||
* @brief Provides definitions of enum variables and structs in the HID DDK.
|
||||
*
|
||||
* File to include: <hid/hid_ddk_types.h>
|
||||
* @library libhid.z.so
|
||||
* @syscap SystemCapability.Driver.HID.Extension
|
||||
* @since 11
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
#ifndef HID_DDK_TYPES_H
|
||||
#define HID_DDK_TYPES_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -12,8 +12,6 @@
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
#ifndef USB_DDK_API_H
|
||||
#define USB_DDK_API_H
|
||||
|
||||
/**
|
||||
* @addtogroup UsbDdk
|
||||
@ -33,10 +31,16 @@
|
||||
*
|
||||
* @brief Declares the USB DDK APIs used by the USB host to access USB devices.
|
||||
*
|
||||
* @kit DriverDevelopmentKit
|
||||
* @library libusb_ndk.z.so
|
||||
* @syscap SystemCapability.Driver.USB.Extension
|
||||
* @since 10
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
#ifndef USB_DDK_API_H
|
||||
#define USB_DDK_API_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "ddk_types.h"
|
||||
|
@ -13,8 +13,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef USB_DDK_TYPES_H
|
||||
#define USB_DDK_TYPES_H
|
||||
/**
|
||||
* @addtogroup UsbDdk
|
||||
* @{
|
||||
@ -33,10 +31,16 @@
|
||||
*
|
||||
* @brief Provides the enumerated variables, structures, and macros used in USB DDK APIs.
|
||||
*
|
||||
* @kit DriverDevelopmentKit
|
||||
* @library libusb_ndk.z.so
|
||||
* @syscap SystemCapability.Driver.USB.Extension
|
||||
* @since 10
|
||||
* @version 1.0
|
||||
*/
|
||||
|
||||
#ifndef USB_DDK_TYPES_H
|
||||
#define USB_DDK_TYPES_H
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user