diff options
Diffstat (limited to 'filter/filter-rule.h')
-rw-r--r-- | filter/filter-rule.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/filter/filter-rule.h b/filter/filter-rule.h index a6b2c3996a..2d5ba8174a 100644 --- a/filter/filter-rule.h +++ b/filter/filter-rule.h @@ -45,6 +45,13 @@ enum _filter_grouping_t { FILTER_GROUP_ANY /* any rule must match */ }; +/* threading, if the context supports it */ +enum _filter_threading_t { + FILTER_THREAD_NONE, /* don't add any thread matching */ + FILTER_THREAD_ALL, /* add all possible threads */ + FILTER_THREAD_REPLIES, /* add only replies */ + FILTER_THREAD_REPLIES_PARENTS, /* replies plus parents */ +}; #define FILTER_SOURCE_INCOMING "incoming" /* performed on incoming email */ #define FILTER_SOURCE_DEMAND "demand" /* performed on the selected folder @@ -60,6 +67,8 @@ struct _FilterRule { char *source; enum _filter_grouping_t grouping; + enum _filter_threading_t threading; + unsigned int system:1; /* this is a system rule, cannot be edited/deleted */ GList *parts; }; |