aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-rule.h
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-08-18 01:42:21 +0800
committerPeter Williams <peterw@src.gnome.org>2000-08-18 01:42:21 +0800
commit7cf30eb79276d4f255c1d603e2c203bb054cf50e (patch)
tree687a003be1d0fbcc0ff06eccd900a04c38ad7aa0 /filter/filter-rule.h
parentb3f1da4f99afadb51862fe732d66b72437224b99 (diff)
downloadgsoc2013-evolution-7cf30eb79276d4f255c1d603e2c203bb054cf50e.tar.gz
gsoc2013-evolution-7cf30eb79276d4f255c1d603e2c203bb054cf50e.tar.zst
gsoc2013-evolution-7cf30eb79276d4f255c1d603e2c203bb054cf50e.zip
Filtering on demand! booyeah!
svn path=/trunk/; revision=4864
Diffstat (limited to 'filter/filter-rule.h')
-rw-r--r--filter/filter-rule.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/filter/filter-rule.h b/filter/filter-rule.h
index 396af19e59..425d0ac350 100644
--- a/filter/filter-rule.h
+++ b/filter/filter-rule.h
@@ -39,6 +39,13 @@ enum _filter_grouping_t {
FILTER_GROUP_ANY /* any rule must match */
};
+enum _filter_source_t {
+ FILTER_SOURCE_INCOMING, /* performed on incoming email */
+ FILTER_SOURCE_DEMAND, /* performed on the selected folder
+ * when the user asks for it */
+ FILTER_SOURCE_OUTGOING /* performed on outgoing mail */
+};
+
struct _FilterRule {
GtkObject parent;
struct _FilterRulePrivate *priv;
@@ -46,6 +53,7 @@ struct _FilterRule {
char *name;
enum _filter_grouping_t grouping;
+ enum _filter_source_t source;
GList *parts;
};