summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-02-28 00:15:48 -0800
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-03-20 00:26:14 +0000
commit35e019b187858e8f79c627bebc3a6eab59fdcf84 (patch)
tree24958d93a10c69b711379169f1e174d109e10997
parentdab35b40374d4f232b15b67d447639d96e057473 (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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/message.h b/message.h
index 0a01e17..c89f007 100644
--- a/message.h
+++ b/message.h
@@ -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;