From 1a68102c00f473ff8892f901fa71f9cd2c5a6534 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 18 Jun 2004 07:41:36 +0000 Subject: ** See #60214. 2004-06-18 Not Zed ** See #60214. * em-folder-view.c (em_folder_view_print): re-arrange code to make the dialogue async. We also now load the message every time before printing. (emfv_print_response): handle response to print. * em-format-html-print.c (em_format_html_print_message): new api to print a specific uid on a specific folder. svn path=/trunk/; revision=26413 --- mail/em-format-html-print.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mail/em-format-html-print.h') diff --git a/mail/em-format-html-print.h b/mail/em-format-html-print.h index 5c8731ef12..0153d405e6 100644 --- a/mail/em-format-html-print.h +++ b/mail/em-format-html-print.h @@ -13,13 +13,14 @@ struct _GnomePrintConfig; typedef struct _EMFormatHTMLPrint EMFormatHTMLPrint; typedef struct _EMFormatHTMLPrintClass EMFormatHTMLPrintClass; -struct _CamelMimePart; +struct _CamelFolder; struct _EMFormatHTMLPrint { EMFormatHTML formathtml; struct _GtkWidget *window; /* used to realise the gtkhtml in a toplevel, i dont know why */ struct _GnomePrintConfig *config; + struct _EMFormatHTML *source; /* used for print_message */ int preview:1; }; @@ -33,5 +34,6 @@ GType em_format_html_print_get_type(void); EMFormatHTMLPrint *em_format_html_print_new(void); int em_format_html_print_print(EMFormatHTMLPrint *efhp, EMFormatHTML *source, struct _GnomePrintConfig *print_config, int preview); +int em_format_html_print_message(EMFormatHTMLPrint *efhp, EMFormatHTML *source, struct _GnomePrintConfig *print_config, struct _CamelFolder *folder, const char *uid, int preview); #endif /* ! _EM_FORMAT_HTML_PRINT_H */ -- cgit v1.2.3