aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r--mail/mail-config.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index ce71d0e1ea..82f863dba3 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -87,6 +87,12 @@ typedef enum {
MAIL_CONFIG_DISPLAY_MAX
} MailConfigDisplayStyle;
+typedef enum {
+ MAIL_CONFIG_NEW_MAIL_NOTIFICATION_NONE,
+ MAIL_CONFIG_NEW_MAIL_NOTIFICATION_BEEP,
+ MAIL_CONFIG_NEW_MAIL_NOTIFICATION_COMMAND,
+} MailConfigNewMailNotification;
+
/* Identities */
MailConfigIdentity *identity_copy (const MailConfigIdentity *id);
void identity_destroy (MailConfigIdentity *id);
@@ -175,6 +181,11 @@ void mail_config_set_default_forward_style (MailConfigForwardS
MailConfigDisplayStyle mail_config_get_message_display_style (void);
void mail_config_set_message_display_style (MailConfigDisplayStyle style);
+MailConfigNewMailNotification mail_config_get_new_mail_notification (void);
+void mail_config_set_new_mail_notification (MailConfigNewMailNotification type);
+const char *mail_config_get_new_mail_notification_command (void);
+void mail_config_set_new_mail_notification_command (const char *command);
+
const char *mail_config_get_default_charset (void);
void mail_config_set_default_charset (const char *charset);