summaryrefslogtreecommitdiffstats
path: root/message.h
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2019-03-20 19:11:31 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2019-03-20 19:11:31 +0000
commitb5d07fac4d1f95b4f257404594306f24ce78425a (patch)
treec31b98d9d61c2b0daf7fde85de44ae0e1ed55b89 /message.h
parent58111f286fd66e3a4c538fdd558db268f6fa8053 (diff)
parent35e019b187858e8f79c627bebc3a6eab59fdcf84 (diff)
Merge "libqtappfw: message: add replyStatus/requestData methods" into guppy
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;