2006-02-24 [colin] 2.0.0cvs83
[claws.git] / src / summaryview.h
index 03fb2dbff77cc28fd16aaeddbfee55187717d12d..6d126440b69c395a4bc126f007310e35a65c451a 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2005 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
@@ -14,7 +14,7 @@
  *
  * 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 __SUMMARY_H__
@@ -42,6 +42,7 @@ typedef enum
        S_COL_MIME,
        S_COL_SUBJECT,
        S_COL_FROM,
+       S_COL_TO,
        S_COL_DATE,
        S_COL_SIZE,
        S_COL_NUMBER,
@@ -49,7 +50,7 @@ typedef enum
        S_COL_LOCKED
 } SummaryColumnType;
 
-#define N_SUMMARY_COLS 10
+#define N_SUMMARY_COLS 11
 
 typedef enum
 {
@@ -75,7 +76,7 @@ typedef enum
 #include "prefs_filtering.h"
 #include "quicksearch.h"
 
-extern GtkTargetEntry summary_drag_types[1];
+extern GtkTargetEntry summary_drag_types[2];
 
 struct _SummaryColumnState
 {
@@ -210,6 +211,7 @@ void summary_sort             (SummaryView          *summaryview,
                                   FolderSortType        sort_type);
 
 void summary_delete              (SummaryView          *summaryview);
+void summary_delete_trash        (SummaryView          *summaryview);
 
 void summary_cancel               (SummaryView          *summaryview);
 
@@ -249,6 +251,9 @@ void summary_mark_as_read     (SummaryView          *summaryview);
 void summary_msgs_lock           (SummaryView          *summaryview);
 void summary_msgs_unlock         (SummaryView          *summaryview);
 void summary_mark_all_read       (SummaryView          *summaryview);
+void summary_mark_as_spam        (SummaryView          *summaryview, 
+                                  guint                 action, 
+                                  GtkWidget            *widget);
 void summary_add_address         (SummaryView          *summaryview);
 void summary_select_all                  (SummaryView          *summaryview);
 void summary_unselect_all        (SummaryView          *summaryview);
@@ -283,5 +288,7 @@ void summary_save_prefs_to_folderitem
 void summaryview_export_mbox_list (SummaryView *summaryview);
 void summaryview_lock(SummaryView *summaryview, FolderItem *item);
 void summaryview_unlock(SummaryView *summaryview, FolderItem *item);
-
+void summary_reflect_prefs(void);
+void summaryview_activate_quicksearch(SummaryView *summaryview);
+void summary_set_menu_sensitive        (SummaryView            *summaryview);
 #endif /* __SUMMARY_H__ */