summaryrefslogtreecommitdiffstats
path: root/message.h
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-02-28 02:21:21 -0800
commitb6e00b9d70eb3e8eea2ccea97f786410aa1ef064 (patch)
tree4e8aa0bd60568d96078368cbfe08f99ec674a833 /message.h
parent8ee667a77246f26e00e295e9edaaef6226468771 (diff)
libqtappfw: message: add replyStatus/requestData methods
Bug-AGL: SPEC-2183 Change-Id: Iafe0f3624035268460c12ab4c000ae4925bd4236 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'message.h')
-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;