Desktop

/* $Id: mailer.h,v 1.4 2006/10/23 18:09:04 khorben Exp $ */
/* Copyright (c) 2006 The DeforaOS Project */
#ifndef MAILER_MAILER_H
# define MAILER_MAILER_H
# include <gtk/gtk.h>
/* Mailer */
/* types */
typedef struct _Mailer
{
/* widgets */
GtkWidget * window;
GtkWidget * hdr_vbox;
GtkWidget * hdr_subject;
GtkWidget * hdr_from;
GtkWidget * hdr_to;
GtkWidget * hdr_date;
GtkWidget * view_body;
GtkWidget * statusbar;
gint statusbar_id;
} Mailer;
/* functions */
Mailer * mailer_new(void);
void mailer_delete(Mailer * mailer);
/* useful */
int mailer_error(Mailer * mailer, char const * message, int ret);
#endif