diff -r 5b3b2fa8c3ec -r f42d9a78f435 inc/convergedmessage.h --- a/inc/convergedmessage.h Wed Aug 18 00:46:12 2010 +0530 +++ b/inc/convergedmessage.h Tue Aug 31 18:53:38 2010 +0530 @@ -102,7 +102,9 @@ enum MessageProperty { Unread = 0x0001, - Attachment = 0x0002 + Attachment = 0x0002, + /** TP-RP (Reply Path) Found in first octet of Submit and Deliver. */ + ReplyPath = 0x0004 }; /** @@ -411,6 +413,33 @@ * @param stream data stream from which data is deserialized. */ void deserialize(QDataStream &stream); + + /** + * Sets the message property, if reply-path is present + * @param replypath, TP-RP (Reply Path) Found in first octet of + * Submit and Deliver PDU + */ + void setReplyPath(bool replypath = true); + + /** + * Tells if the reply-path is set for this message + * @return bool, if the reply-path exists + */ + bool replyPath(); + + /** + * Set originating service center address. This is used for reply + * purposes, if the reply-via-same-smsc flag is ON + * @param scaddress, service center address + */ + void setOriginatingSC(const QString& scaddress); + + /** + * Get originating service center address, + * if preserved for reply-via-same-smsc + * @return originating service center address + */ + const QString& originatingSC() const; private: /**