aboutsummaryrefslogtreecommitdiffstats
path: root/homescreen/src/homescreenvoice.h
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-21 12:44:48 +0900
committerzheng_wenlong <wenlong_zheng@nexty-ele.com>2019-06-21 12:44:48 +0900
commitc8193621f75bcf66720cd8bccedd55a00d4e0e24 (patch)
tree203e3751a0a45a951c97e57b55b73e094215eece /homescreen/src/homescreenvoice.h
parentc38d55fc0b43215f63c873e7578554f5942e69b3 (diff)
Change VUI disconnect message display condition
Diffstat (limited to 'homescreen/src/homescreenvoice.h')
-rw-r--r--homescreen/src/homescreenvoice.h4
1 files changed, 3 insertions, 1 deletions
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<std::string> state_lists;
+ static const std::vector<std::string> connect_lists;
+ static const std::vector<std::string> 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