From c484cbb09d445e2ab30ea011c6d2ffd87202bb26 Mon Sep 17 00:00:00 2001
From: yy1717 <fctom1215@outlook.com>
Date: 星期五, 23 十月 2020 18:05:34 +0800
Subject: [PATCH] 添加可用户配置的评判参数。

---
 lib/src/main/cpp/native-lib.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/lib/src/main/cpp/native-lib.h b/lib/src/main/cpp/native-lib.h
index a088514..bff3f5d 100644
--- a/lib/src/main/cpp/native-lib.h
+++ b/lib/src/main/cpp/native-lib.h
@@ -6,6 +6,8 @@
 #define RTKBASESTATION_NATIVE_LIB_H
 
 #include <cstdint>
+#include <string>
+
 #include "test_common/Geometry.h"
 
 typedef struct {
@@ -24,6 +26,7 @@
 void DrawScreen(const Polygon *map, const Polygon *car);
 void SendMsgToMainProc(int cmd, const char *value);
 int PlayTTS(const char *string, void (*callback)(int));
+int PlayTTS(std::string &tts, void (*callback)(int));
 void PlayRing(void);
 
 #endif //RTKBASESTATION_NATIVE_LIB_H

--
Gitblit v1.8.0