/**
* modest_msg_view_window_remove_attachments:
* @window: a #ModestMsgViewWindow
- * @mime_parts: a #GList of #TnyMimePart
+ * @get_all: a #gboolean. If %TRUE, purges all attachmnents, if %FALSE,
+ * purges only selected ones.
*
- * Removes the attachments in @mime_parts, or currently selected attachments
- * if @mime_parts is %NULL, from local storage.
+ * Removes selected attachments.
*/
void modest_msg_view_window_remove_attachments (ModestMsgViewWindow *window,
- GList *mime_parts);
+ gboolean get_all);
/**
TnyFolderType
modest_msg_view_window_get_folder_type (ModestMsgViewWindow *window);
+/**
+ * modest_msg_view_window_transfer_mode_enabled:
+ * @window: a #ModestMsgViewWindow
+ *
+ * Determines if some transfer operation is in progress.
+ *
+ * Returns: TRUE if transfer mode is enabled, FASE otherwise.
+*/
+gboolean
+modest_msg_view_window_transfer_mode_enabled (ModestMsgViewWindow *self);
+
G_END_DECLS
#endif /* __MODEST_MSG_VIEW_WINDOW_H__ */