X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-mail-operation.h;h=c3ec8d2afcbfee4038bcc9b4e3a272cecae86beb;hb=c2c60d8c88aa180b656a1b932ea695185f7f3f6e;hp=c03d4ec636166aa7b312bcfd79bbadaa52de7f00;hpb=cb02c84129626cc87c88381ad9996bca8fb1cec1;p=modest diff --git a/src/modest-mail-operation.h b/src/modest-mail-operation.h index c03d4ec..c3ec8d2 100644 --- a/src/modest-mail-operation.h +++ b/src/modest-mail-operation.h @@ -47,37 +47,6 @@ typedef struct _ModestMailOperation ModestMailOperation; typedef struct _ModestMailOperationClass ModestMailOperationClass; /** - * ModestMailOperationForwardType: - * - * How the original message will be forwarded to the recipient - */ -typedef enum _ModestMailOperationForwardType { - MODEST_MAIL_OPERATION_FORWARD_TYPE_INLINE = 1, - MODEST_MAIL_OPERATION_FORWARD_TYPE_ATTACHMENT -} ModestMailOperationForwardType; - -/** - * ModestMailOperationReplyType: - * - * How the original message will be forwarded to the recipient - */ -typedef enum _ModestMailOperationReplyType { - MODEST_MAIL_OPERATION_REPLY_TYPE_CITE = 1, - MODEST_MAIL_OPERATION_REPLY_TYPE_QUOTE -} ModestMailOperationReplyType; - -/** - * ModestMailOperationReplyMode: - * - * Who will be the recipients of the replied message - */ -typedef enum _ModestMailOperationReplyMode { - MODEST_MAIL_OPERATION_REPLY_MODE_SENDER, - MODEST_MAIL_OPERATION_REPLY_MODE_LIST, - MODEST_MAIL_OPERATION_REPLY_MODE_ALL -} ModestMailOperationReplyMode; - -/** * ModestMailOperationStatus: * * The state of a mail operation @@ -154,34 +123,6 @@ void modest_mail_operation_send_new_mail (ModestMailOperation *self, const GList *attachments_list); /** - * modest_mail_operation_create_forward_mail: - * @msg: a valid #TnyMsg instance - * @forward_type: the type of formatting used to create the forwarded message - * - * Creates a forwarded message from an existing one - * - * Returns: a new #TnyMsg, or NULL in case of error - **/ -TnyMsg* modest_mail_operation_create_forward_mail (TnyMsg *msg, - const gchar *from, - ModestMailOperationForwardType forward_type); - -/** - * modest_mail_operation_create_reply_mail: - * @msg: a valid #TnyMsg instance - * @reply_type: the type of formatting used to create the reply message - * @reply_mode: the mode of reply: to the sender only, to a mail list or to all - * - * Creates a new message to reply to an existing one - * - * Returns: Returns: a new #TnyMsg, or NULL in case of error - **/ -TnyMsg* modest_mail_operation_create_reply_mail (TnyMsg *msg, - const gchar *from, - ModestMailOperationReplyType reply_type, - ModestMailOperationReplyMode reply_mode); - -/** * modest_mail_operation_update_account: * @self: a #ModestMailOperation * @store_account: a #TnyStoreAccount