aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-06 00:42:14 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-06 00:42:14 +0800
commit5de5ccdbae6e7a1a12d8ad3579cfa599eaaa903b (patch)
tree04029ab5ea23c8ef176c98031ec1c6a268cef6c0 /camel/camel-folder.c
parent616d409f7cb18b0dfcac25cb17574e4d9d39d293 (diff)
downloadgsoc2013-evolution-5de5ccdbae6e7a1a12d8ad3579cfa599eaaa903b.tar.gz
gsoc2013-evolution-5de5ccdbae6e7a1a12d8ad3579cfa599eaaa903b.tar.zst
gsoc2013-evolution-5de5ccdbae6e7a1a12d8ad3579cfa599eaaa903b.zip
new method. (camel_folder_get_message): corresponding public call
1999-08-05 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-folder.c (_get_message): new method. (camel_folder_get_message): corresponding public call svn path=/trunk/; revision=1082
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 2f103283d4..6753789bd6 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -49,6 +49,7 @@ static CamelStore *_get_parent_store (CamelFolder *folder);
static CamelFolderOpenMode _get_mode (CamelFolder *folder);
static GList *_list_subfolders (CamelFolder *folder);
static GList *_expunge (CamelFolder *folder);
+static CamelMimeMessage *_get_message (CamelFolder *folder, gint number);
static void
camel_folder_class_init (CamelFolderClass *camel_folder_class)
@@ -74,6 +75,7 @@ camel_folder_class_init (CamelFolderClass *camel_folder_class)
camel_folder_class->get_mode = _get_mode;
camel_folder_class->list_subfolders = _list_subfolders;
camel_folder_class->expunge = _expunge;
+ camel_folder_class->get_message = _get_message;
/* virtual method overload */
}
@@ -722,3 +724,29 @@ camel_folder_expunge (CamelFolder *folder)
return CF_CLASS (folder)->expunge (folder);
}
+
+
+
+static CamelMimeMessage *
+_get_message (CamelFolder *folder, gint number)
+{
+ return NULL;
+}
+
+
+
+
+/**
+ * _get_message: return the message corresponding to that number in the folder
+ * @folder: a CamelFolder object
+ * @number: the number of the message within the folder.
+ *
+ * Return the message corresponding to that number within the folder.
+ *
+ * Return value: A pointer on the corresponding message or NULL if no corresponding message exists
+ **/
+CamelMimeMessage *
+camel_folder_get_message (CamelFolder *folder, gint number)
+{
+ return CF_CLASS (folder)->get_message (folder, number);
+}