aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-autofilter.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-06-19 03:26:21 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-06-19 03:26:21 +0800
commit547e123d2777bd3beba36e74e018efb590ed44d4 (patch)
tree447712a20cff8bc89e6d6c1d16f0d99b9c1122f5 /mail/mail-autofilter.h
parent67159043da2de9df576f6a4eaa245e0c3926f004 (diff)
downloadgsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar
gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.gz
gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.bz2
gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.lz
gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.xz
gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.tar.zst
gsoc2013-evolution-547e123d2777bd3beba36e74e018efb590ed44d4.zip
Stop abusing forward declarations.
Diffstat (limited to 'mail/mail-autofilter.h')
-rw-r--r--mail/mail-autofilter.h23
1 files changed, 11 insertions, 12 deletions
diff --git a/mail/mail-autofilter.h b/mail/mail-autofilter.h
index 67ff5d6310..8ad98589ef 100644
--- a/mail/mail-autofilter.h
+++ b/mail/mail-autofilter.h
@@ -24,12 +24,11 @@
#ifndef _MAIL_AUTOFILTER_H
#define _MAIL_AUTOFILTER_H
-struct _FilterRule;
-struct _EMVFolderContext;
-struct _EMFilterContext;
-struct _CamelMimeMessage;
-struct _CamelInternetAddress;
-struct _CamelStore;
+#include <camel/camel-mime-message.h>
+
+#include <filter/filter-rule.h>
+#include <mail/em-filter-context.h>
+#include <mail/em-vfolder-context.h>
enum {
AUTO_SUBJECT = 1,
@@ -38,15 +37,15 @@ enum {
AUTO_MLIST = 8
};
-struct _FilterRule *em_vfolder_rule_from_message(struct _EMVFolderContext *context, struct _CamelMimeMessage *msg, gint flags, const gchar *source);
-struct _FilterRule *filter_rule_from_message(struct _EMFilterContext *context, struct _CamelMimeMessage *msg, gint flags);
-struct _FilterRule *em_vfolder_rule_from_address(struct _EMVFolderContext *context, struct _CamelInternetAddress *addr, gint flags, const gchar *source);
+FilterRule *em_vfolder_rule_from_message(EMVFolderContext *context, CamelMimeMessage *msg, gint flags, const gchar *source);
+FilterRule *filter_rule_from_message(EMFilterContext *context, CamelMimeMessage *msg, gint flags);
+FilterRule *em_vfolder_rule_from_address(EMVFolderContext *context, CamelInternetAddress *addr, gint flags, const gchar *source);
/* easiest place to put this */
-void filter_gui_add_from_message(struct _CamelMimeMessage *msg, const gchar *source, gint flags);
+void filter_gui_add_from_message(CamelMimeMessage *msg, const gchar *source, gint flags);
/* Also easiest place for these, we should really share a global rule context for this stuff ... */
-void mail_filter_rename_uri(struct _CamelStore *store, const gchar *olduri, const gchar *newuri);
-void mail_filter_delete_uri(struct _CamelStore *store, const gchar *uri);
+void mail_filter_rename_uri(CamelStore *store, const gchar *olduri, const gchar *newuri);
+void mail_filter_delete_uri(CamelStore *store, const gchar *uri);
#endif