1 /* 2 * e-mail-enums.h 3 * 4 * This program is free software; you can redistribute it and/or modify it 5 * under the terms of the GNU Lesser General Public License as published by 6 * the Free Software Foundation. 7 * 8 * This program is distributed in the hope that it will be useful, but 9 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 10 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 11 * for more details. 12 * 13 * You should have received a copy of the GNU Lesser General Public License 14 * along with this program; if not, see <http://www.gnu.org/licenses/>. 15 * 16 */ 17 18 #ifndef E_MAIL_ENUMS_H 19 #define E_MAIL_ENUMS_H 20 21 #include <glib.h> 22 23 G_BEGIN_DECLS 24 25 typedef enum { 26 E_MAIL_FORWARD_STYLE_ATTACHED, 27 E_MAIL_FORWARD_STYLE_INLINE, 28 E_MAIL_FORWARD_STYLE_QUOTED 29 } EMailForwardStyle; 30 31 typedef enum { 32 E_MAIL_REPLY_STYLE_UNKNOWN = -1, 33 E_MAIL_REPLY_STYLE_QUOTED, 34 E_MAIL_REPLY_STYLE_DO_NOT_QUOTE, 35 E_MAIL_REPLY_STYLE_ATTACH, 36 E_MAIL_REPLY_STYLE_OUTLOOK 37 } EMailReplyStyle; 38 39 typedef enum { 40 E_MAIL_REPLY_TO_SENDER, 41 E_MAIL_REPLY_TO_RECIPIENT, 42 E_MAIL_REPLY_TO_FROM, 43 E_MAIL_REPLY_TO_ALL, 44 E_MAIL_REPLY_TO_LIST 45 } EMailReplyType; 46 47 /** 48 * EMailReplyFlags: 49 * @E_MAIL_REPLY_FLAG_NONE: no flags used 50 * @E_MAIL_REPLY_FLAG_FORCE_STYLE: Force use of the passed-in reply style; if not set, 51 * then also checks reply style setting for the used mail account. 52 * @E_MAIL_REPLY_FLAG_FORMAT_PLAIN: Force compose in Plain Text format; cannot be used together 53 * with @E_MAIL_REPLY_FLAG_FORMAT_HTML. If none of these is set, then uses 54 * global setting. 55 * @E_MAIL_REPLY_FLAG_FORMAT_HTML: Force compose in HTML format; cannot be used together 56 * with @E_MAIL_REPLY_FLAG_FORMAT_PLAIN. If none of these is set, then uses 57 * global setting. 58 * @E_MAIL_REPLY_FLAG_TOP_POSTING: Force top posting; cannot be used together 59 * with @E_MAIL_REPLY_FLAG_BOTTOM_POSTING. If none is set, then uses global settings. 60 * @E_MAIL_REPLY_FLAG_BOTTOM_POSTING: Force bottom posting; cannot be used together 61 * with @E_MAIL_REPLY_FLAG_TOP_POSTING. If none is set, then uses global settings. 62 * @E_MAIL_REPLY_FLAG_TOP_SIGNATURE: Force placing signature to the top; cannot be used together 63 * with @E_MAIL_REPLY_FLAG_BOTTOM_SIGNATURE. If none is set, then uses global settings. 64 * @E_MAIL_REPLY_FLAG_BOTTOM_SIGNATURE: Force placing signature to the bottom; cannot be used together 65 * with @E_MAIL_REPLY_FLAG_TOP_SIGNATURE. If none is set, then uses global settings. 66 * @E_MAIL_REPLY_FLAG_FORCE_SENDER_REPLY: Force sender reply, to not switch it to reply-all, when 67 * the From address of the message is the user. 68 * 69 * Flags influencing behavior of em_utils_reply_to_message(). 70 * 71 * Since: 3.30 72 **/ 73 typedef enum { /*< flags >*/ 74 E_MAIL_REPLY_FLAG_NONE = 0, 75 E_MAIL_REPLY_FLAG_FORCE_STYLE = 1 << 0, 76 E_MAIL_REPLY_FLAG_FORMAT_PLAIN = 1 << 1, 77 E_MAIL_REPLY_FLAG_FORMAT_HTML = 1 << 2, 78 E_MAIL_REPLY_FLAG_TOP_POSTING = 1 << 3, 79 E_MAIL_REPLY_FLAG_BOTTOM_POSTING = 1 << 4, 80 E_MAIL_REPLY_FLAG_TOP_SIGNATURE = 1 << 5, 81 E_MAIL_REPLY_FLAG_BOTTOM_SIGNATURE = 1 << 6, 82 E_MAIL_REPLY_FLAG_FORCE_SENDER_REPLY = 1 << 7 83 } EMailReplyFlags; 84 85 G_END_DECLS 86 87 #endif /* E_MAIL_ENUMS_H */ 88 89