diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-03-13 17:00:19 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-03-14 01:57:18 +0000 |
commit | 5d608a916820a9e2daa2cc33d901ceba8bad5210 (patch) | |
tree | 37090e1b8e9f36f4ef6692bd83aabe35768c0990 /telephony/telephonymessage.h | |
parent | dc5eea70949891012ddb7d37727955c30a2e74bb (diff) |
libqtappfw: telephony: add onlineChanged signal
Allow clients to receive Handsfree profile status to enable/disable
dialpads and other functions.
Bug-AGL: SPEC-2257
Change-Id: I3a614dbbdc9a75ffea103bb6b5182f48dae608b6
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'telephony/telephonymessage.h')
-rw-r--r-- | telephony/telephonymessage.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/telephony/telephonymessage.h b/telephony/telephonymessage.h index 87d06a6..0225b64 100644 --- a/telephony/telephonymessage.h +++ b/telephony/telephonymessage.h @@ -27,9 +27,11 @@ class TelephonyMessage : public Message bool isDialingCall() { return m_event ? (this->eventName() == "dialingCall") : false; }; bool isIncomingCall() { return m_event ? (this->eventName() == "incomingCall") : false; }; bool isTerminatedCall() { return (this->eventName() == "terminatedCall"); }; + bool isOnline() { return (this->eventName() == "online"); }; QString clip() { return m_event_data.find("clip").value().toString(); }; QString colp() { return m_event_data.find("colp").value().toString(); }; QString state() { return m_event_data.find("state").value().toString(); }; + bool connected() { return m_event_data.find("connected").value().toBool(); }; bool createRequest(QString verb, QString value = "None"); }; |