2006-09-13 [colin] 2.4.0cvs185
[claws.git] / src / messageview.h
index 1b50340d2a098c77d4b7a99163f4d917c5b44f70..b1b1e5b4f92837ac461918fcbb6472f5d21177b3 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * 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>
 
@@ -66,8 +70,10 @@ struct _MessageView
   
        /* From messageview_show */
        gboolean all_headers;
-    
+
        gint msginfo_update_callback_id;
+       gboolean updating;
+       gboolean deferred_destroy;
 };
 
 MessageView *messageview_create                        (MainWindow     *mainwin);
@@ -109,5 +115,10 @@ void messageview_reflect_prefs_pixmap_theme        (void);
 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__ */