summaryrefslogtreecommitdiffstats
path: root/voice/voice.h
diff options
context:
space:
mode:
authorRaquel Medina <raquel.medina@konsulko.com>2019-12-12 15:37:24 +0100
committerRaquel Medina <raquel.medina@konsulko.com>2019-12-12 15:38:27 +0100
commit9f3896cb82c27e912bc37ae88254367911050512 (patch)
tree83cffa219dfb2b6acc2dd84ced212d41055bc365 /voice/voice.h
parent0ff12f7c22e2be3238b0c436c08634cd18f5bd06 (diff)
voice: register for all vshl events on start up
libqtappfw should register for login events from start up (along with other vshl events), so that the information is available even if an user didnt kick start the authorization process via settings app. - register to all vshl events on start up; - rename 'subscribeToLoginEvents' to 'triggerCBLProcess', which is indeed the operation implemented behind this method. Bug-AGL: SPEC-2981 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Change-Id: I8aea5cac0b6d17b8ca3838d0958d2128cc745c0f
Diffstat (limited to 'voice/voice.h')
-rw-r--r--voice/voice.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/voice/voice.h b/voice/voice.h
index be3d15d..d4c288e 100644
--- a/voice/voice.h
+++ b/voice/voice.h
@@ -48,7 +48,7 @@ class Voice : public QObject
void subscribeAgentToVshlEvents(QString id);
void unsubscribeAgentFromVshlEvents(QString id);
- void subscribeAgentToLoginEvents(QString id);
+ void triggerCBLProcess(QString id);
void parseAgentsList(QJsonArray agents);
void processVshlEvent(VoiceMessage *vmsg);
void processLoginEvent(VoiceMessage *vmsg);
@@ -65,8 +65,6 @@ class Voice : public QObject
"voice_authstate_event",
"voice_dialogstate_event",
"voice_connectionstate_event",
- };
- const QStringList login_events {
"voice_cbl_codepair_received_event",
"voice_cbl_codepair_expired_event",
};