From a94ab16492fbcd9c4b568a237bd21df8aed78763 Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 14 Sep 2009 05:27:03 +0000 Subject: update summary caches on receiving. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2247 ee746299-78ed-0310-b773-934348b2243d --- libsylph/folder.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'libsylph/folder.h') diff --git a/libsylph/folder.h b/libsylph/folder.h index db9c3bf9..d8bfc8b4 100644 --- a/libsylph/folder.h +++ b/libsylph/folder.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2007 Hiroyuki Yamamoto + * Copyright (C) 1999-2009 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -179,6 +179,15 @@ struct _FolderClass GSList *file_list, gboolean remove_source, gint *first); + gint (*add_msg_msginfo) (Folder *folder, + FolderItem *dest, + MsgInfo *msginfo, + gboolean remove_source); + gint (*add_msgs_msginfo) (Folder *folder, + FolderItem *dest, + GSList *msginfo_list, + gboolean remove_source, + gint *first); gint (*move_msg) (Folder *folder, FolderItem *dest, MsgInfo *msginfo); @@ -296,6 +305,7 @@ struct _FolderItem gboolean trim_summary_subject; gboolean trim_compose_subject; + GSList *cache_queue; GSList *mark_queue; guint last_selected; @@ -395,6 +405,13 @@ gint folder_item_add_msgs (FolderItem *dest, GSList *file_list, gboolean remove_source, gint *first); +gint folder_item_add_msg_msginfo (FolderItem *dest, + MsgInfo *msginfo, + gboolean remove_source); +gint folder_item_add_msgs_msginfo (FolderItem *dest, + GSList *msginfo_list, + gboolean remove_source, + gint *first); gint folder_item_move_msg (FolderItem *dest, MsgInfo *msginfo); gint folder_item_move_msgs (FolderItem *dest, -- cgit v1.2.3