Desktop

/* $Id: mailer.h,v 1.5 2006/10/24 05:53:49 khorben Exp $ */
/* Copyright (c) 2006 The DeforaOS Project */
#ifndef MAILER_MAILER_H
# define MAILER_MAILER_H
# include <gtk/gtk.h>
# include "account.h"
/* Mailer */
/* types */
typedef struct _Mailer
{
Account ** account;
int account_cnt;
/* widgets */
GtkWidget * window;
GtkIconTheme * theme;
GtkWidget * view_folders;
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