/*
* Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2004 Hiroyuki Yamamoto
+ * Copyright (C) 1999-2006 Hiroyuki Yamamoto and the Sylpheed-Claws team
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef __MESSAGEVIEW_H__
#define __MESSAGEVIEW_H__
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <glib.h>
#include <gtk/gtkwidget.h>
/* From messageview_show */
gboolean all_headers;
-
+
gint msginfo_update_callback_id;
+ gboolean updating;
+ gboolean deferred_destroy;
};
MessageView *messageview_create (MainWindow *mainwin);
gchar *messageview_get_selection (MessageView *msgview);
void messageview_set_menu_sensitive (MessageView *msgview);
-
+void messageview_learn (MessageView *msgview,
+ gboolean is_spam);
+#ifdef USE_GNOMEPRINT
+void messageview_print (MsgInfo *msginfo,
+ gboolean all_headers);
+#endif
#endif /* __MESSAGEVIEW_H__ */