aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-display.h
blob: cb74d5c390e8452c454c282f0a27bd83ef601aab (plain) (blame)
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
#ifndef _MAIL_DISPLAY_H_
#define _MAIL_DISPLAY_H_

#include <gtk/gtktable.h>
#include <gtkhtml/gtkhtml.h>
#include "camel/camel-stream.h"

#define MAIL_DISPLAY_TYPE        (mail_display_get_type ())
#define MAIL_DISPLAY(o)          (GTK_CHECK_CAST ((o), MAIL_DISPLAY_TYPE, MailDisplay))
#define MAIL_DISPLAY_CLASS(k)    (GTK_CHECK_CLASS_CAST((k), MAIL_DISPLAY_TYPE, MailDisplayClass))
#define IS_MAIL_DISPLAY(o)       (GTK_CHECK_TYPE ((o), MAIL_DISPLAY_TYPE))
#define IS_MAIL_DISPLAY_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), MAIL_DISPLAY_TYPE))

typedef struct {
    GtkTable parent;

    GtkHTML *html;
} MailDisplay;

typedef struct {
    GtkTableClass parent_class;
} MailDisplayClass;

GtkType        mail_display_get_type (void);
GtkWidget     *mail_display_new      (void);

CamelStream   *mail_display_get_stream (MailDisplay *display);

#endif /* _MAIL_DISPLAY_H_ */