From c8193621f75bcf66720cd8bccedd55a00d4e0e24 Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Fri, 21 Jun 2019 12:44:48 +0900 Subject: Change VUI disconnect message display condition --- homescreen/src/homescreenvoice.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'homescreen/src/homescreenvoice.h') diff --git a/homescreen/src/homescreenvoice.h b/homescreen/src/homescreenvoice.h index 011280c..5b60a1e 100644 --- a/homescreen/src/homescreenvoice.h +++ b/homescreen/src/homescreenvoice.h @@ -38,6 +38,8 @@ public: explicit HomescreenVoice(QObject *parent = 0); ~HomescreenVoice(); static const std::vector state_lists; + static const std::vector connect_lists; + static const std::vector event_lists; int init(int port, const string& token); void on_hangup(void *closure, struct afb_wsj1 *wsj); @@ -59,7 +61,7 @@ private: std::string muri; int mport = 2000; std::string mtoken = "hs"; - + bool connect = false; }; #endif // HOMESCREENVOICE_H -- cgit 1.2.3-korg