X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-msg-view-window.h;h=0decc456b3189ad1fde391004ff2b0d65ee37f7d;hb=995acdf78b6b0e264f359fb3538062417077b449;hp=9e414211aa2ef75e391390cdd888d66fd81c533d;hpb=bb689ad1521fee8d0500f81fef16a08b3400579c;p=modest diff --git a/src/widgets/modest-msg-view-window.h b/src/widgets/modest-msg-view-window.h index 9e41421..0decc45 100644 --- a/src/widgets/modest-msg-view-window.h +++ b/src/widgets/modest-msg-view-window.h @@ -102,6 +102,7 @@ GType modest_msg_view_window_get_type (void) G_GNUC_CONST; * Returns: a new #ModestMsgViewWindow, or NULL in case of error */ ModestWindow* modest_msg_view_window_new_for_attachment (TnyMsg *msg, + TnyMsg *top_msg, const gchar *modest_account_name, const gchar *mailbox, const gchar *msg_uid); @@ -121,6 +122,7 @@ ModestWindow* modest_msg_view_window_new_for_attachment (TnyMsg *msg, */ ModestWindow* modest_msg_view_window_new_with_other_body (TnyMsg *msg, TnyMimePart *other_body, + TnyMsg *top_msg, const gchar *modest_account_name, const gchar *mailbox, const gchar *msg_uid); @@ -229,6 +231,17 @@ modest_msg_view_window_get_header (ModestMsgViewWindow *self); TnyMsg* modest_msg_view_window_get_message (ModestMsgViewWindow *window); /** + * modest_msg_view_window_get_top_message: + * @window: an #ModestMsgViewWindow instance + * + * get a new reference to the parent message of the tree of views. The caller + * must free this new reference + * + * Returns: a new #TnyMsg instance, or NULL in case of error + */ +TnyMsg* modest_msg_view_window_get_top_message (ModestMsgViewWindow *window); + +/** * modest_msg_view_window_get_message_uid: * @msg: an #ModestMsgViewWindow instance *