homescreen: fix master volume control name
[apps/homescreen.git] / homescreen / src / constants.h
1 #ifndef CONSTANTS_H
2 #define CONSTANTS_H
3
4 #include <QString>
5 #include <QJsonArray>
6 #include <QJsonObject>
7
8 namespace vshl {
9 const QString API = QLatin1String("vshl-core");
10 const QString VOICE_AGENT_ENUMERATION_VERB = QLatin1String("enumerateVoiceAgents");
11 const QString SUBSCRIBE_VERB = QLatin1String("subscribe");
12 const QString TAP_TO_TALK_VERB = QLatin1String("startListening");
13
14 const QString ALEXA_AGENT_NAME = QLatin1String("Alexa");
15
16 const QString DATA_TAG = QLatin1String("data");
17 const QString RESPONSE_TAG = QLatin1String("response");
18 const QString AGENTS_TAG = QLatin1String("agents");
19 const QString DEFAULT_TAG = QLatin1String("default");
20 const QString NAME_TAG = QLatin1String("name");
21 const QString ID_TAG = QLatin1String("id");
22 const QString STATE_TAG = QLatin1String("state");
23
24 const QString VOICE_AGENT_ID_ARG = QLatin1String("va_id");
25 const QString VOICE_AGENT_EVENTS_ARG = QLatin1String("events");
26 const QString VOICE_AGENT_ACTIONS_ARG = QLatin1String("actions");
27
28 const QJsonArray VOICE_AGENT_EVENTS_ARRAY = {
29     QLatin1String("voice_authstate_event"),
30     QLatin1String("voice_dialogstate_event"),
31     QLatin1String("voice_connectionstate_event")
32 };
33
34 const QString VOICE_DIALOG_STATE_EVENT = QLatin1String("vshl-core/voice_dialogstate_event#");
35 const QString VOICE_DIALOG_IDLE = QLatin1String("IDLE");
36 const QString VOICE_DIALOG_LISTENING = QLatin1String("LISTENING");
37 const QString VOICE_DIALOG_THINKING = QLatin1String("THINKING");
38 const QString VOICE_DIALOG_SPEAKING = QLatin1String("SPEAKING");
39 const QString VOICE_DIALOG_MICROPHONEOFF = QLatin1String("MICROPHONEOFF");
40 }
41
42 #endif // CONSTANTS_H