aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers/mail-importer.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/importers/mail-importer.h')
-rw-r--r--mail/importers/mail-importer.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/importers/mail-importer.h b/mail/importers/mail-importer.h
index 5f2f8c8b26..15de575f8b 100644
--- a/mail/importers/mail-importer.h
+++ b/mail/importers/mail-importer.h
@@ -29,6 +29,13 @@
EImportImporter *mbox_importer_peek(void);
+typedef void (*MboxImporterCreatePreviewFunc)(GObject *preview, GtkWidget **preview_widget);
+typedef void (*MboxImporterFillPreviewFunc)(GObject *preview, CamelMimeMessage *msg);
+
+/* 'create_func' is a function to create a view. 'fill_func' is to fill view with a preview of a message 'msg'
+ (mail importer cannot link to em-format-html-display directly) */
+void mbox_importer_set_preview_funcs (MboxImporterCreatePreviewFunc create_func, MboxImporterFillPreviewFunc fill_func);
+
EImportImporter *elm_importer_peek(void);
EImportImporter *pine_importer_peek(void);