summaryrefslogtreecommitdiffstats
path: root/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'message.h')
-rw-r--r--message.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/message.h b/message.h
index 8512332..59be368 100644
--- a/message.h
+++ b/message.h
@@ -63,6 +63,16 @@ class Message : public QObject
return m_event_data;
}
+ inline QString replyInfo() const
+ {
+ return m_reply_info;
+ }
+
+ inline QJsonObject replyData() const
+ {
+ return m_reply_data;
+ }
+
inline bool isEvent() const
{
return m_event;
@@ -80,9 +90,9 @@ class Message : public QObject
protected:
bool m_event, m_init, m_reply;
- QString m_event_api, m_event_name, m_reply_status, m_reply_uuid;
+ QString m_event_api, m_event_name, m_reply_info, m_reply_status, m_reply_uuid;
QJsonDocument m_jdoc;
- QJsonObject m_event_data;
+ QJsonObject m_event_data, m_reply_data;
};
#endif // MESSAGE_H