From 6cb08f0bc177cd0de35b852fac94a181f4d2233c Mon Sep 17 00:00:00 2001 From: Bertrand Guiheneuf Date: Tue, 10 Aug 1999 11:53:46 +0000 Subject: some test files svn path=/trunk/; revision=1101 --- camel/camel-folder.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'camel/camel-folder.c') 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); +} -- cgit