diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/camel-folder.c | 6 | ||||
-rw-r--r-- | camel/camel-folder.h | 5 |
2 files changed, 10 insertions, 1 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c index 1cd3b41dc6..f70fa6f342 100644 --- a/camel/camel-folder.c +++ b/camel/camel-folder.c @@ -213,7 +213,11 @@ _close (CamelFolder *folder, gboolean expunge) folder->open_state = FOLDER_CLOSE; } - +void +camel_folder_close (CamelFolder *folder, gboolean expunge) +{ + CF_CLASS(folder)->close (folder, expunge); +} diff --git a/camel/camel-folder.h b/camel/camel-folder.h index 0715396ca7..3a9d99d3a8 100644 --- a/camel/camel-folder.h +++ b/camel/camel-folder.h @@ -71,9 +71,13 @@ struct _CamelFolder CamelStore *parent_store; CamelFolder *parent_folder; GList *permanent_flags; + gboolean has_summary_capability; CamelFolderSummary *summary; + gboolean has_uid_capability; + + GList *message_list; }; @@ -121,6 +125,7 @@ GtkType camel_folder_get_type (void); /* public methods */ CamelFolder *camel_folder_get_folder (CamelFolder *folder, gchar *folder_name); void camel_folder_open (CamelFolder *folder, CamelFolderOpenMode mode); +void camel_folder_close (CamelFolder *folder, gboolean expunge); gboolean camel_folder_create (CamelFolder *folder); gboolean camel_folder_delete (CamelFolder *folder, gboolean recurse); gboolean camel_folder_delete_messages (CamelFolder *folder); |