diff options
author | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-10 19:53:46 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-10 19:53:46 +0800 |
commit | 6cb08f0bc177cd0de35b852fac94a181f4d2233c (patch) | |
tree | 5a83d501fe75db56369872745834981ec460a06b /camel/camel-folder.c | |
parent | 317000107d2209d45c60a2241f1e69cb6cd2489d (diff) | |
download | gsoc2013-evolution-6cb08f0bc177cd0de35b852fac94a181f4d2233c.tar.gz gsoc2013-evolution-6cb08f0bc177cd0de35b852fac94a181f4d2233c.tar.zst gsoc2013-evolution-6cb08f0bc177cd0de35b852fac94a181f4d2233c.zip |
some test files
svn path=/trunk/; revision=1101
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r-- | camel/camel-folder.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c index 5fa22a5b72..2d0a29faab 100644 --- a/camel/camel-folder.c +++ b/camel/camel-folder.c @@ -51,6 +51,8 @@ static GList *_list_subfolders (CamelFolder *folder); static GList *_expunge (CamelFolder *folder); static CamelMimeMessage *_get_message (CamelFolder *folder, gint number); static gint _get_message_count (CamelFolder *folder); +static gint _append_message (CamelFolder *folder, CamelMimeMessage *message); + static void camel_folder_class_init (CamelFolderClass *camel_folder_class) @@ -78,6 +80,7 @@ camel_folder_class_init (CamelFolderClass *camel_folder_class) camel_folder_class->expunge = _expunge; camel_folder_class->get_message = _get_message; camel_folder_class->get_message_count = _get_message_count; + camel_folder_class->append_message = _append_message; /* virtual method overload */ } @@ -784,3 +787,15 @@ camel_folder_get_message_count (CamelFolder *folder) return CF_CLASS (folder)->get_message_count (folder); } + +static gint +_append_message (CamelFolder *folder, CamelMimeMessage *message) +{ + return -1; +} + + +gint camel_folder_append_message (CamelFolder *folder, CamelMimeMessage *message) +{ + return CF_CLASS (folder)->append_message (folder, message); +} |