dialog box for matching and some other changes
[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         GSList * scoring;
23 };
24
25 typedef struct _PrefsFolderItem PrefsFolderItem;
26
27 void prefs_folder_item_read_config(FolderItem * item);
28 void prefs_folder_item_save_config(FolderItem * item);
29 void prefs_folder_item_set_config(FolderItem * item,
30                                   int sort_type, gint sort_mode);
31 PrefsFolderItem * prefs_folder_item_new(void);
32 void prefs_folder_item_free(PrefsFolderItem * prefs);
33 gint prefs_folder_item_get_sort_type(FolderItem * item);
34 gint prefs_folder_item_get_sort_mode(FolderItem * item);
35
36 #endif