/*
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#if !defined (__LIBEMAIL_ENGINE_H_INSIDE__) && !defined (LIBEMAIL_ENGINE_COMPILATION)
#error "Only <libemail-engine/libemail-engine.h> should be included directly."
#endif

#ifndef E_MAIL_ENGINE_ENUMS_H
#define E_MAIL_ENGINE_ENUMS_H

#include <glib.h>

G_BEGIN_DECLS

/* XXX E_MAIL_FOLDER_TEMPLATES is a prime example of why templates
 *     should be a core feature: the mailer now has to know about
 *     this specific plugin, which defeats the purpose of plugins. */
typedef enum {
	E_MAIL_LOCAL_FOLDER_INBOX,
	E_MAIL_LOCAL_FOLDER_DRAFTS,
	E_MAIL_LOCAL_FOLDER_OUTBOX,
	E_MAIL_LOCAL_FOLDER_SENT,
	E_MAIL_LOCAL_FOLDER_TEMPLATES,
	E_MAIL_LOCAL_FOLDER_LOCAL_INBOX,
	E_MAIL_NUM_LOCAL_FOLDERS
} EMailLocalFolder;

/**
 * EMailRecipientCertificateLookup:
 * @E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_OFF: Do not do any recipient certificate lookup
 * @E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_AUTOCOMPLETED: Lookup recipient certificates
 *    between auto-completed recipients only
 * @E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_BOOKS: Lookup recipient certificates between
 *    auto-completed recipients and all books marked for auto-completion
 *
 * Used to set whether and where S/MIME certificates or PGP keys for message encryption
 * should be looked up for.
 *
 * Since: 3.30
 **/
typedef enum {
	E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_OFF,
	E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_AUTOCOMPLETED,
	E_MAIL_RECIPIENT_CERTIFICATE_LOOKUP_BOOKS
} EMailRecipientCertificateLookup;

G_END_DECLS

#endif /* E_MAIL_ENGINE_ENUMS_H */
