aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-format-html-print.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-format-html-print.h')
-rw-r--r--mail/em-format-html-print.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/mail/em-format-html-print.h b/mail/em-format-html-print.h
new file mode 100644
index 0000000000..78e3139e0f
--- /dev/null
+++ b/mail/em-format-html-print.h
@@ -0,0 +1,37 @@
+
+/*
+ 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 _CamelMimePart;
+
+struct _EMFormatHTMLPrint {
+ EMFormatHTML formathtml;
+
+ struct _GtkWidget *window; /* used to realise the gtkhtml in a toplevel, i dont know why */
+ struct _GnomePrintConfig *config;
+
+ 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, struct _CamelMedium *msg, EMFormatHTML *source, struct _GnomePrintConfig *print_config, int preview);
+
+#endif /* ! _EM_FORMAT_HTML_PRINT_H */