X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-tny-msg.h;h=e3da25d79bb474517ec34c2ef14a1429a7304731;hb=2fbc6870fbfcb6c2a1198b302141e268acd4b94c;hp=5bf42760133b3fabca0108f8e81775b3ca0767b7;hpb=ac50c4b59461225aa321ffadaa27be00a6402be3;p=modest diff --git a/src/modest-tny-msg.h b/src/modest-tny-msg.h index 5bf4276..e3da25d 100644 --- a/src/modest-tny-msg.h +++ b/src/modest-tny-msg.h @@ -164,4 +164,17 @@ TnyMsg* modest_tny_msg_create_reply_msg (TnyMsg *msg, ModestTnyMsgReplyMode reply_mode); +/** + * modest_tny_msg_get_parent_unique_id + * @msg: a valid #TnyMsg instance, or %NULL + * + * gets the unique ID of the 'parent' (the original msg replied to or forward) + * + * Returns: Returns: a the parent uid, or NULL if there is none. + **/ +const gchar* modest_tny_msg_get_parent_uid (TnyMsg *msg); + + + + #endif /* __MODEST_TNY_MSG_H__ */