* apllied today's changes to the gtk-glade ui to the hildon ui
[modest] / src / modest-tny-transport-actions.h
index 7fb6d51..4e32062 100644 (file)
@@ -40,6 +40,21 @@ GType        modest_tny_transport_actions_get_type    (void) G_GNUC_CONST;
 GObject*    modest_tny_transport_actions_new         (void);
 
 
+/**
+ * modest_tny_transport_actions_send_message:
+ * @self: a ModestTnyTransportActions object
+ * @transport_account: the TnyTransportAccountIface to use for sending this message
+ * @from: the email address of the sender
+ * @to: the email address of the receiver
+ * @cc: the receivers of a copy of the message (comma-seperated)
+ * @bcc: the receivers of a blind copy of the message (comma-seperated)
+ * @subject: the Subject: of the message
+ * @body: a string containing the message body (text)
+ *
+ * send a email message to @to
+ *
+ * Returns: TRUE but this will change to whether sending was successful
+ */
 gboolean modest_tny_transport_actions_send_message (ModestTnyTransportActions *self,
                                                    TnyTransportAccountIface *transport_account,
                                                    const gchar *from,
@@ -47,7 +62,8 @@ gboolean modest_tny_transport_actions_send_message (ModestTnyTransportActions *s
                                                    const gchar *cc,
                                                    const gchar *bcc,
                                                    const gchar *subject,
-                                                   const gchar *body);
+                                                   const gchar *body,
+                                                   const GList *attachments_list);
 
 G_END_DECLS