/**
* modest_conf_get_string:
- * @self: self a ModestConf instance
+ * @self: a ModestConf instance
* @key: the key of the value to retrieve
* @err: a GError ptr, or NULL to ignore.
*
/**
* modest_conf_get_int:
- * @self: self a ModestConf instance
+ * @self: a ModestConf instance
* @key: the key of the value to retrieve
* @err: a GError ptr, or NULL to ignore.
*
/**
* modest_conf_get_bool:
- * @self: self a ModestConf instance
+ * @self: a ModestConf instance
* @key: the key of the value to retrieve
* @err: a GError ptr, or NULL to ignore.
*
*
* checks if the given key exists in the configuration system
*
- * Returns: TRUE if exists, FALSE otherwise.
+ * Returns: TRUE if it exists, FALSE otherwise.
* @err gives details in case of error
*/
gboolean modest_conf_key_exists (ModestConf* self, const gchar* key, GError **err);
/**
* modest_tny_account_store_get_type:
*
- * returns GType of account store ???
- *
- * Returns: ???
+ * Returns: GType of account store
*/
GType modest_tny_account_store_get_type (void) G_GNUC_CONST;
* modest_tny_account_store_new:
* @modest_acc_mgr: account manager to use for new account store
*
- * creates new tiny account store for account manager modest_acc_mgr
+ * creates new (tinymail) account store for account manager modest_acc_mgr
*
* Returns: GObject of newly created account store
*/
GObject* modest_tny_account_store_new (ModestAccountMgr *modest_acc_mgr);
/**
- * modest_tny_account_store_get_accout_mgr:
+ * modest_tny_account_store_get_account_mgr:
* @self: a TnyAccountStore instance
*
* retrieve the account manager associated with this account store.
*
- * Returns: the account manager for self.
+ * Returns: the account manager for @self.
*/
ModestAccountMgr *modest_tny_account_store_get_accout_mgr(ModestTnyAccountStore *self);
/**
* modest_tny_msg_actions_quote:
* @self: the message to quote
+ * @from: the original sender of the message
+ * @sent_date: the date the original message was sent
+ * @limit: characters per line limit for the quoted message
+ * @to_quote: a string to quote instead of the message body
*
- * Returns: a string containing the quoted message
+ * reply-quotes a message or @to_quote if it's not NULL.
+
+ * Note: @from and @sent_date may be eliminated from the API in future versions
+ *
+ * Returns: a newly allocated string containing the quoted message
*/
gchar *modest_tny_msg_actions_quote (const TnyMsgIface * self,
time_t sent_date,
gint limit, gchar *to_quote);
+/**
+ * modest_tny_msg_actions_find_body_part:
+ * @self: a message
+ * @mime_type: the mime type to find
+ *
+ * search a message for a body part of type @mime_type. @mime_type is a string
+ * like "text/plain".
+ *
+ * Returns: the TnyMsgMimePartIface for the found part, or NULL if no matching part is found
+ */
+
TnyMsgMimePartIface *modest_tny_msg_actions_find_body_part (TnyMsgIface * self,
const gchar * mime_type);
* */
void modest_tny_msg_view_set_message (ModestTnyMsgView *self,
TnyMsgIface *tny_msg);
-
+
+
+/**
+ * modest_tny_msg_view_get_selected_text:
+ * @self: a ModestTnyMsgView instance
+ *
+ * get the user selected part of the message
+ *
+ * Returns: a newly allocated string of the user's selection or NULL if nothing is selected
+ */
gchar * modest_tny_msg_view_get_selected_text (ModestTnyMsgView *self);
G_END_DECLS
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,
/**
* modest_ui_show_main_window:
* @ui: a ModestUI instance
- *
- * Returns: TRUE if succeeded, FALSE otherwise
*
+ * show the application's main window
+ *
+ * Returns: TRUE if succeeded, FALSE otherwise
*/
gboolean modest_ui_show_main_window (ModestUI *ui);