1 /*
2  * e-mail-engine-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 #if !defined (__LIBEMAIL_ENGINE_H_INSIDE__) && !defined (LIBEMAIL_ENGINE_COMPILATION)
19 #error "Only <libemail-engine/libemail-engine.h> should be included directly."
20 #endif
21 
22 #ifndef E_MAIL_ENGINE_ENUMS_H
23 #define E_MAIL_ENGINE_ENUMS_H
24 
25 #include <glib.h>
26 
27 G_BEGIN_DECLS
28 
29 /* XXX E_MAIL_FOLDER_TEMPLATES is a prime example of why templates
30  *     should be a core feature: the mailer now has to know about
31  *     this specific plugin, which defeats the purpose of plugins. */
32 typedef enum {
33 	E_MAIL_LOCAL_FOLDER_INBOX,
34 	E_MAIL_LOCAL_FOLDER_DRAFTS,
35 	E_MAIL_LOCAL_FOLDER_OUTBOX,
36 	E_MAIL_LOCAL_FOLDER_SENT,
37 	E_MAIL_LOCAL_FOLDER_TEMPLATES,
38 	E_MAIL_LOCAL_FOLDER_LOCAL_INBOX,
39 	E_MAIL_NUM_LOCAL_FOLDERS
40 } EMailLocalFolder;
41 
42 /**
43  * EMailRecipientCertificateLookup:
44  * @E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_OFF: Do not do any recipient certificate lookup
45  * @E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_AUTOCOMPLETED: Lookup recipient certificates
46  *    between auto-completed recipients only
47  * @E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_BOOKS: Lookup recipient certificates between
48  *    auto-completed recipients and all books marked for auto-completion
49  *
50  * Used to set whether and where S/MIME certificates or PGP keys for message encryption
51  * should be looked up for.
52  *
53  * Since: 3.30
54  **/
55 typedef enum {
56 	E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_OFF,
57 	E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_AUTOCOMPLETED,
58 	E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_BOOKS
59 } EMailRecipientCertificateLookup;
60 
61 G_END_DECLS
62 
63 #endif /* E_MAIL_ENGINE_ENUMS_H */
64