2 * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
3 * Copyright (C) 1999-2007 Hiroyuki Yamamoto and the Claws Mail team
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef FOLDER_ITEM_PREFS_H
21 #define FOLDER_ITEM_PREFS_H
24 #include <sys/types.h>
26 typedef struct _FolderItemPrefs FolderItemPrefs;
30 struct _FolderItemPrefs {
33 int enable_processing;
39 int remove_old_bodies;
41 gboolean request_return_receipt;
42 gboolean enable_default_to;
44 gboolean enable_default_reply_to;
45 gchar *default_reply_to;
46 gboolean enable_simplify_subject;
47 gchar *simplify_subject_regexp;
48 gboolean enable_folder_chmod;
50 gboolean enable_default_account;
53 gboolean enable_default_dictionary;
54 gchar *default_dictionary;
55 gboolean enable_default_alt_dictionary;
56 gchar *default_alt_dictionary;
58 gboolean save_copy_to_folder;
61 gboolean compose_with_format;
62 gchar *compose_subject_format;
63 gchar *compose_body_format;
64 gboolean reply_with_format;
65 gchar *reply_quotemark;
66 gchar *reply_body_format;
67 gboolean forward_with_format;
68 gchar *forward_quotemark;
69 gchar *forward_body_format;
72 void folder_item_prefs_read_config(FolderItem * item);
73 void folder_item_prefs_save_config(FolderItem * item);
74 void folder_item_prefs_save_config_recursive(FolderItem * item);
75 FolderItemPrefs *folder_item_prefs_new(void);
76 void folder_item_prefs_free(FolderItemPrefs * prefs);
77 void folder_item_prefs_copy_prefs(FolderItem * src, FolderItem * dest);
79 #endif /* FOLDER_ITEM_PREFS_H */