2004-06-18 Not Zed <NotZed@Ximian.com> ** 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
40 lines
1.1 KiB
C
40 lines
1.1 KiB
C
|
|
/*
|
|
Concrete class for formatting mails to displayed html
|
|
*/
|
|
|
|
#ifndef _EM_FORMAT_HTML_PRINT_H
|
|
#define _EM_FORMAT_HTML_PRINT_H
|
|
|
|
#include "em-format-html.h"
|
|
|
|
struct _GnomePrintConfig;
|
|
|
|
typedef struct _EMFormatHTMLPrint EMFormatHTMLPrint;
|
|
typedef struct _EMFormatHTMLPrintClass EMFormatHTMLPrintClass;
|
|
|
|
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;
|
|
};
|
|
|
|
struct _EMFormatHTMLPrintClass {
|
|
EMFormatHTMLClass formathtml_class;
|
|
};
|
|
|
|
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 */
|