mirror of
https://gitee.com/openharmony/interface_sdk_c
synced 2024-11-24 07:09:59 +00:00
update
Signed-off-by: hellohyh001 <huiyuehong@huawei.com> Change-Id: Iad5718e7142fe148acd4a8f6e6fe19f94fc68851
This commit is contained in:
parent
045d206f49
commit
867aa96ee9
@ -17,8 +17,8 @@ import("//build/ohos/ndk/ndk.gni")
|
||||
ohos_ndk_headers("oh_sensor_header") {
|
||||
dest_dir = "$ndk_headers_out_dir/sensors/sensor"
|
||||
sources = [
|
||||
"./sensor.h",
|
||||
".sensor_type.h",
|
||||
"./native_sensor.h",
|
||||
"./native_sensor_type.h",
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -29,8 +29,8 @@
|
||||
* @since 11
|
||||
*/
|
||||
|
||||
#ifndef OH_SENSOR_H
|
||||
#define OH_SENSOR_H
|
||||
#ifndef OH_NATIVE_SENSOR_H
|
||||
#define OH_NATIVE_SENSOR_H
|
||||
|
||||
#include "sensor_type.h"
|
||||
|
||||
@ -74,4 +74,4 @@ Sensor_Result OH_Sensor_UnsubscribeSensor(const Sensor_SubscribeId *subscribeId,
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif // OH_SENSOR_H
|
||||
#endif // OH_NATIVE_SENSOR_H
|
@ -32,8 +32,8 @@
|
||||
* @since 11
|
||||
*/
|
||||
|
||||
#ifndef OH_SENSOR_TYPE_H
|
||||
#define OH_SENSOR_TYPE_H
|
||||
#ifndef OH_NATIVE_SENSOR_TYPE_H
|
||||
#define OH_NATIVE_SENSOR_TYPE_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
@ -420,4 +420,4 @@ int32_t OH_Sensor_GetSensorCallback(Sensor_SubscribeAttribute* attribute, Sensor
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#endif // OH_SENSOR_TYPE_H
|
||||
#endif // OH_NATIVE_SENSOR_TYPE_H
|
Loading…
Reference in New Issue
Block a user