diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-02-28 00:15:48 -0800 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2019-03-20 00:26:14 +0000 |
commit | 35e019b187858e8f79c627bebc3a6eab59fdcf84 (patch) | |
tree | 24958d93a10c69b711379169f1e174d109e10997 | |
parent | dab35b40374d4f232b15b67d447639d96e057473 (diff) |
libqtappfw: message: add replyStatus/requestData methods
Bug-AGL: SPEC-2183 SPEC-2271
Change-Id: Iafe0f3624035268460c12ab4c000ae4925bd4236
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
(cherry picked from commit b6e00b9d70eb3e8eea2ccea97f786410aa1ef064)
-rw-r--r-- | message.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -70,6 +70,11 @@ class Message : public QObject return m_event_data; } + inline QString replyStatus() const + { + return m_reply_status; + } + inline QString replyInfo() const { return m_reply_info; @@ -99,6 +104,11 @@ class Message : public QObject m_request["callid"] = callId; } + inline QMap<QString, QVariant> requestData() const + { + return m_request; + } + protected: bool m_event, m_init, m_reply; QString m_event_api, m_event_name, m_reply_info, m_reply_status, m_reply_uuid; |