aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-01 12:48:28 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-01 12:48:28 +0800
commitb95075468947bc79594acd973d780819b92e10f1 (patch)
tree5124c702ab9c941bfef662b497afae060b9a122e /camel/camel-folder.h
parentf7019627af193bfa63271e6cef3a523ad5da9c5e (diff)
downloadgsoc2013-evolution-b95075468947bc79594acd973d780819b92e10f1.tar.gz
gsoc2013-evolution-b95075468947bc79594acd973d780819b92e10f1.tar.zst
gsoc2013-evolution-b95075468947bc79594acd973d780819b92e10f1.zip
Renamed _by_uid methods. Since we no longer have get-by-number methods, no
2000-07-01 Jeffrey Stedfast <fejj@helixcode.com> * camel-folder.c: Renamed _by_uid methods. Since we no longer have get-by-number methods, no need to have the _by_uid extensions. (get_message_by_uid): Renamed to get_message (delete_message_by_uid): Renamed to delete_message (summary_get_by_uid): Renamed to get_message_info * providers/mbox/camel-mbox-folder.c: * providers/pop3/camel-pop3-folder.c: * providers/imap/camel-imap-folder.c: * providers/vee/camel-vee-folder.c: Updated to reflect camel-folder changes. svn path=/trunk/; revision=3843
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h29
1 files changed, 17 insertions, 12 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 7f8520ed63..5ae8be25cc 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -130,13 +130,13 @@ typedef struct {
CamelMimeMessage *message,
CamelException *ex);
- CamelMimeMessage * (*get_message_by_uid) (CamelFolder *folder,
- const gchar *uid,
- CamelException *ex);
+ CamelMimeMessage * (*get_message) (CamelFolder *folder,
+ const gchar *uid,
+ CamelException *ex);
- void (*delete_message_by_uid) (CamelFolder *folder,
- const gchar *uid,
- CamelException *ex);
+ void (*delete_message) (CamelFolder *folder,
+ const gchar *uid,
+ CamelException *ex);
GPtrArray * (*get_uids) (CamelFolder *folder,
CamelException *ex);
@@ -159,8 +159,8 @@ typedef struct {
const char *expression,
CamelException *ex);
- const CamelMessageInfo * (*summary_get_by_uid) (CamelFolder *,
- const char *uid);
+ const CamelMessageInfo * (*get_message_info) (CamelFolder *,
+ const char *uid);
void (*copy_message_to) (CamelFolder *source,
const char *uid,
@@ -265,10 +265,10 @@ void camel_folder_free_subfolder_names (CamelFolder *folder,
const gchar * camel_folder_get_message_uid (CamelFolder *folder,
CamelMimeMessage *message,
CamelException *ex);
-CamelMimeMessage * camel_folder_get_message_by_uid (CamelFolder *folder,
+CamelMimeMessage * camel_folder_get_message (CamelFolder *folder,
const gchar *uid,
CamelException *ex);
-void camel_folder_delete_message_by_uid (CamelFolder *folder,
+void camel_folder_delete_message (CamelFolder *folder,
const gchar *uid,
CamelException *ex);
GPtrArray * camel_folder_get_uids (CamelFolder *folder,
@@ -281,8 +281,13 @@ gboolean camel_folder_has_search_capability (CamelFolder *folder);
GList * camel_folder_search_by_expression (CamelFolder *folder, const char *expression, CamelException *ex);
/* summary info. FIXME: rename this slightly? */
-const CamelMessageInfo *camel_folder_summary_get_by_uid (CamelFolder *summary,
- const char *uid);
+const CamelMessageInfo *camel_folder_get_message_info (CamelFolder *summary,
+ const char *uid);
+
+void camel_folder_copy_message_to (CamelFolder *source,
+ const char *uid,
+ CamelFolder *dest,
+ CamelException *ex);
void camel_folder_move_message_to (CamelFolder *source,
const char *uid,