kill score / folder scoring / buf fixed for local account prefs
[claws.git] / src / prefs_folder_item.h
1 #ifndef PREFS_FOLDER_ITEM_H
2
3 #define PREFS_FOLDER_ITEM_H
4
5 #include "folder.h"
6 #include <glib.h>
7
8 struct _PrefsFolderItem {
9         gchar * directory;
10
11         gboolean sort_by_number;
12         gboolean sort_by_size;
13         gboolean sort_by_date;
14         gboolean sort_by_from;
15         gboolean sort_by_subject;
16         gboolean sort_by_score;
17
18         gboolean sort_descending;
19
20         gboolean enable_thread;
21
22         gint kill_score;
23         gint important_score;
24
25         GSList * scoring;
26         GSList * processing;
27 };
28
29 typedef struct _PrefsFolderItem PrefsFolderItem;
30
31 void prefs_folder_item_read_config(FolderItem * item);
32 void prefs_folder_item_save_config(FolderItem * item);
33 void prefs_folder_item_set_config(FolderItem * item,
34                                   int sort_type, gint sort_mode);
35 PrefsFolderItem * prefs_folder_item_new(void);
36 void prefs_folder_item_free(PrefsFolderItem * prefs);
37 gint prefs_folder_item_get_sort_type(FolderItem * item);
38 gint prefs_folder_item_get_sort_mode(FolderItem * item);
39
40 #endif