File: em-format-html-print.h

package info (click to toggle)
evolution 2.6.3-6etch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 79,516 kB
  • ctags: 32,159
  • sloc: ansic: 295,007; xml: 10,755; sh: 9,373; makefile: 3,756; perl: 1,591
file content (40 lines) | stat: -rw-r--r-- 1,264 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40

/*
  Concrete class for formatting mails to displayed html
*/

#ifndef _EM_FORMAT_HTML_PRINT_H
#define _EM_FORMAT_HTML_PRINT_H

#include "mail/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 */

	guint 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);
int em_format_html_print_raw_message(EMFormatHTMLPrint *efhp, struct _GnomePrintConfig *print_config, struct _CamelMimeMessage *msg, int preview);

#endif /* ! _EM_FORMAT_HTML_PRINT_H */