X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fwidgets%2Fmodest-msg-edit-window.h;h=132d87dc2a643a0e75d3b0eca96ae2b863992f33;hp=6e2827116e463927077b1425b85a1eb4e9c00c16;hb=c23c9b6cc6be2bcdb5630e3855f2d9d518a49190;hpb=bbf2c5798714d38d55e3ad6b1854fed83f471bf6 diff --git a/src/widgets/modest-msg-edit-window.h b/src/widgets/modest-msg-edit-window.h index 6e28271..132d87d 100644 --- a/src/widgets/modest-msg-edit-window.h +++ b/src/widgets/modest-msg-edit-window.h @@ -371,6 +371,17 @@ void modest_msg_edit_window_set_sent (ModestMsgEditWindow */ void modest_msg_edit_window_set_draft (ModestMsgEditWindow *window, TnyMsg *draft); +/** + * modest_msg_edit_window_get_message_uid: + * @msg: an #ModestMsgEditWindow instance + * + * gets the unique identifier for the message in this msg editor. + * This is the identifier of the draft or outbox message the editor was + * opened from. If it's a new message, then it returns %NULL + * + * Returns: the id of the #TnyMsg being shown, or NULL in case of error + */ +const gchar* modest_msg_edit_window_get_message_uid (ModestMsgEditWindow *window); G_END_DECLS