* Update several UI bits to use internal pointers instead of searching widgets.
[modest] / src / modest-tny-attachment.h
index 3855f66..1224165 100644 (file)
@@ -6,6 +6,8 @@
 
 #include <glib-object.h>
 #include <tny-stream-iface.h>
+#include <tny-msg-iface.h>
+#include <tny-msg-mime-part-iface.h>
 /* other include files */
 
 G_BEGIN_DECLS
@@ -57,6 +59,10 @@ void modest_tny_attachment_guess_mime_type (ModestTnyAttachment *self);
 
 TnyStreamIface * modest_tny_attachment_get_stream (ModestTnyAttachment *self);
 
+void modest_tny_attachment_free_list(GList *list);
+
+GList *modest_tny_attachment_new_list_from_msg(const TnyMsgIface *msg, gboolean with_body);
+
 G_END_DECLS
 
 #endif /* __MODEST_TNY_ATTACHMENT_H__ */