From 2d6a9d02c77d7e08d4f18ee87d6e3d337b949f47 Mon Sep 17 00:00:00 2001 From: yy1717 <fctom1215@outlook.com> Date: 星期四, 20 八月 2020 19:35:17 +0800 Subject: [PATCH] 坐标 --- lib/src/main/cpp/native-lib.h | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/lib/src/main/cpp/native-lib.h b/lib/src/main/cpp/native-lib.h index d109ac4..79e4d61 100644 --- a/lib/src/main/cpp/native-lib.h +++ b/lib/src/main/cpp/native-lib.h @@ -8,6 +8,11 @@ #include <cstdint> #include "test_common/Geometry.h" +typedef struct { + int seq; + void (*callback)(int); +} tts_back_t; + char * GetImei(void); int DESEncrypt(const uint8_t *key, int key_length, @@ -18,6 +23,6 @@ void TextOsd(int type, const char *text); void DrawScreen(const Polygon *map, const Polygon *car); void SendMsgToMainProc(int cmd, const char *value); -int PlayTTS(const char *string); +int PlayTTS(const char *string, void (*callback)(int)); #endif //RTKBASESTATION_NATIVE_LIB_H -- Gitblit v1.8.0