Desktop
/* $Id: callbacks.h,v 1.6 2006/10/24 05:53:49 khorben Exp $ */
/* Copyright (c) 2006 The DeforaOS Project */
#ifndef MAILER_CALLBACKS_H
# define MAILER_CALLBACKS_H
# include <gtk/gtk.h>
/* mailer window */
gboolean on_closex(GtkWidget * widget, GdkEvent * event, gpointer data);
/* file menu */
void on_file_new_mail(GtkWidget * widget, gpointer data);
void on_file_quit(GtkWidget * widget, gpointer data);
/* edit menu */
void on_edit_preferences(GtkWidget * widget, gpointer data);
/* help menu */
void on_help_about(GtkWidget * widget, gpointer data);
/* toolbar */
void on_new_mail(GtkWidget * widget, gpointer data);
/* compose window */
gboolean on_compose_closex(GtkWidget * widget, GdkEvent * event, gpointer data);
void on_compose_save(GtkWidget * widget, gpointer data);
void on_compose_send(GtkWidget * widget, gpointer data);
/* file menu */
void on_compose_file_close(GtkWidget * widget, gpointer data);
/* view menu */
void on_compose_view_cc(GtkWidget * widget, gpointer data);
void on_compose_view_bcc(GtkWidget * widget, gpointer data);
/* help menu */
void on_compose_help_about(GtkWidget * widget, gpointer data);
/* send mail */
gboolean on_send_closex(GtkWidget * widget, GdkEvent * event, gpointer data);
void on_send_cancel(GtkWidget * widget, gpointer data);
gboolean on_send_write(GIOChannel * source, GIOCondition condition,
gpointer data);
#endif /* !MAILER_CALLBACKS_H */