aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 9ce27a86a3..9df16156e4 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -70,7 +70,6 @@ struct _CamelFolder
CamelStore *parent_store;
CamelFolder *parent_folder;
-
};
@@ -92,6 +91,8 @@ typedef struct {
gboolean (*is_open) (CamelFolder *folder);
CamelFolder * (*get_folder) (CamelFolder *folder, GString *folder_name);
gboolean (*create) (CamelFolder *folder);
+ gboolean (*delete) (CamelFolder *folder, gboolean recurse);
+ gboolean (*delete_messages) (CamelFolder *folder);
} CamelFolderClass;
@@ -102,6 +103,8 @@ GtkType camel_folder_get_type (void);
/* public methods */
gboolean camel_folder_create(CamelFolder *folder);
+gboolean camel_folder_delete (CamelFolder *folder, gboolean recurse);
+gboolean camel_folder_delete_messages (CamelFolder *folder);