* Added support to better handle online/offline status
[modest] / src / modest-tny-attachment.h
index ffe6bb1..57e45c7 100644 (file)
@@ -34,9 +34,9 @@
 #define __MODEST_TNY_ATTACHMENT_H__
 
 #include <glib-object.h>
-#include <tny-stream-iface.h>
-#include <tny-msg-iface.h>
-#include <tny-msg-mime-part-iface.h>
+#include <tny-stream.h>
+#include <tny-msg.h>
+#include <tny-mime-part.h>
 /* other include files */
 
 G_BEGIN_DECLS
@@ -71,10 +71,6 @@ GType        modest_tny_attachment_get_type    (void) G_GNUC_CONST;
 /*    otherwise probably a GObject*. */
 ModestTnyAttachment*    modest_tny_attachment_new         (void);
 
-/* fill in other public functions, eg.: */
-/*     void       modest_tny_attachment_do_something (ModestTnyAttachment *self, const gchar* param); */
-/*     gboolean   modest_tny_attachment_has_foo      (ModestTnyAttachment *self, gint value); */
-
 void modest_tny_attachment_set_name (ModestTnyAttachment *self, const gchar * thing);
 const gchar *modest_tny_attachment_get_name (ModestTnyAttachment *self);
 
@@ -86,12 +82,10 @@ const gchar *modest_tny_attachment_get_mime_type (ModestTnyAttachment *self);
 
 void modest_tny_attachment_guess_mime_type (ModestTnyAttachment *self);
 
-TnyStreamIface * modest_tny_attachment_get_stream (ModestTnyAttachment *self);
+TnyStream * 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__ */