6 class AglSocketWrapper;
7 class ChromeController : public QObject
11 Q_PROPERTY(bool agentPresent READ agentPresent NOTIFY agentPresentChanged)
12 Q_PROPERTY(QString agentName READ agentName NOTIFY agentNameChanged)
13 Q_PROPERTY(int chromeState READ chromeState NOTIFY chromeStateChanged)
25 explicit ChromeController(const QUrl &bindingUrl, QObject *parent = nullptr);
26 bool agentPresent() const { return m_agentPresent; }
27 int chromeState() const { return m_chromeState; }
28 QString agentName() const { return m_voiceAgentName; }
34 void agentPresentChanged();
35 void agentNameChanged();
36 void chromeStateChanged();
39 void setChromeState(ChromeState state);
41 AglSocketWrapper *m_aglSocket;
42 QString m_voiceAgentId = "";
43 QString m_voiceAgentName = "";
44 bool m_agentPresent = false;
45 ChromeState m_chromeState = Idle;