aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-parser-extension.h
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-parser-extension.h')
-rw-r--r--em-format/e-mail-parser-extension.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/em-format/e-mail-parser-extension.h b/em-format/e-mail-parser-extension.h
index e5acece68e..06128cf68c 100644
--- a/em-format/e-mail-parser-extension.h
+++ b/em-format/e-mail-parser-extension.h
@@ -19,7 +19,6 @@
#ifndef E_MAIL_PARSER_EXTENSION_H
#define E_MAIL_PARSER_EXTENSION_H
-#include <em-format/e-mail-extension.h>
#include <em-format/e-mail-parser.h>
#include <camel/camel.h>
@@ -66,7 +65,12 @@ typedef enum {
} EMailParserExtensionFlags;
struct _EMailParserExtensionInterface {
- EMailExtensionInterface parent_interface;
+ GTypeInterface parent_interface;
+
+ /* This is a NULL-terminated array of supported MIME types.
+ * The MIME types can be exact (e.g. "text/plain") or use a
+ * wildcard (e.g. "text/ *"). */
+ const gchar **mime_types;
gboolean (*parse) (EMailParserExtension *extension,
EMailParser *parser,