X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmodest-tny-msg.h;h=e3da25d79bb474517ec34c2ef14a1429a7304731;hp=5bf42760133b3fabca0108f8e81775b3ca0767b7;hb=6e565d66a81f50c1c2afa04635dc84a4f5d82a62;hpb=ac50c4b59461225aa321ffadaa27be00a6402be3 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__ */