diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-27 09:41:21 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-27 09:41:21 +0800 |
commit | efddd51d3b67fbf48a6c190fa7ddfb0244be5ddf (patch) | |
tree | f66dfbe73b34497b294dc65663c668169a5a1e92 /camel/camel-folder.h | |
parent | 7b792443de265dbc80d29011bd1c200e515463c8 (diff) | |
download | gsoc2013-evolution-efddd51d3b67fbf48a6c190fa7ddfb0244be5ddf.tar.gz gsoc2013-evolution-efddd51d3b67fbf48a6c190fa7ddfb0244be5ddf.tar.zst gsoc2013-evolution-efddd51d3b67fbf48a6c190fa7ddfb0244be5ddf.zip |
Use camel_vtrash_folder_new() to create the vtrash folder now.
2001-03-26 Jeffrey Stedfast <fejj@ximian.com>
* camel-store.c (init_trash): Use camel_vtrash_folder_new() to
create the vtrash folder now.
* camel-vtrash-folder.[c,h]: New subclass of CamelVeeFolder for
our vTrash folders.
* camel-folder.c (camel_folder_copy_messages_to): Don't watch for
vtrash folders anymore.
(camel_folder_move_messages_to): Same.
* camel-vee-folder.c (camel_vee_folder_class_init): Update.
(vee_move_messages_to): Rewrite to use the new move API.
* camel-filter-driver.c (do_copy): Updated to reflect
copy_message_to changes. Create a temporary uid array and use
that.
(do_move): Same.
(camel_filter_driver_filter_message): And again, here...
* providers/imap/camel-imap-folder.c (imap_copy_messages_to):
Update to the new API.
(imap_move_messages_to): Same.
(get_uid_set): New function to create a `set' string based on an
array of UIDs for use with imap_copy_messages_to.
* camel-folder.c (camel_folder_copy_messages_to): Replaces
camel_folder_copy_message_to
(camel_folder_move_message_to): Replaces
camel_folder_move_message_to.
svn path=/trunk/; revision=8960
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r-- | camel/camel-folder.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h index ab3483d1da..a4b50c2b2e 100644 --- a/camel/camel-folder.h +++ b/camel/camel-folder.h @@ -140,15 +140,15 @@ typedef struct { void (*ref_message_info) (CamelFolder *, CamelMessageInfo *); void (*free_message_info) (CamelFolder *, CamelMessageInfo *); - void (*copy_message_to) (CamelFolder *source, - const char *uid, - CamelFolder *destination, - CamelException *ex); + void (*copy_messages_to) (CamelFolder *source, + GPtrArray *uids, + CamelFolder *destination, + CamelException *ex); - void (*move_message_to) (CamelFolder *source, - const char *uid, - CamelFolder *destination, - CamelException *ex); + void (*move_messages_to) (CamelFolder *source, + GPtrArray *uids, + CamelFolder *destination, + CamelException *ex); void (*freeze) (CamelFolder *folder); void (*thaw) (CamelFolder *folder); @@ -255,15 +255,15 @@ CamelMessageInfo *camel_folder_get_message_info (CamelFolder *folder, const cha void camel_folder_free_message_info (CamelFolder *folder, CamelMessageInfo *info); void camel_folder_ref_message_info (CamelFolder *folder, CamelMessageInfo *info); -void camel_folder_copy_message_to (CamelFolder *source, - const char *uid, - CamelFolder *dest, - CamelException *ex); +void camel_folder_copy_messages_to (CamelFolder *source, + GPtrArray *uids, + CamelFolder *dest, + CamelException *ex); -void camel_folder_move_message_to (CamelFolder *source, - const char *uid, - CamelFolder *dest, - CamelException *ex); +void camel_folder_move_messages_to (CamelFolder *source, + GPtrArray *uids, + CamelFolder *dest, + CamelException *ex); /* stop/restart getting events */ void camel_folder_freeze (CamelFolder *folder); |