aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.c
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-14 16:47:11 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-14 16:47:11 +0800
commit4b376c242cf019e5fec6889422b8d777ae7a480d (patch)
treedf500e443ba52c91c993ffd2b4e0b3f1d21997bf /camel/camel-mime-message.c
parent1126db678eea6b5fcde9376b77e5b35694467453 (diff)
downloadgsoc2013-evolution-4b376c242cf019e5fec6889422b8d777ae7a480d.tar
gsoc2013-evolution-4b376c242cf019e5fec6889422b8d777ae7a480d.tar.gz
gsoc2013-evolution-4b376c242cf019e5fec6889422b8d777ae7a480d.tar.bz2
gsoc2013-evolution-4b376c242cf019e5fec6889422b8d777ae7a480d.tar.lz
gsoc2013-evolution-4b376c242cf019e5fec6889422b8d777ae7a480d.tar.xz
gsoc2013-evolution-4b376c242cf019e5fec6889422b8d777ae7a480d.tar.zst
gsoc2013-evolution-4b376c242cf019e5fec6889422b8d777ae7a480d.zip
added recipient handling class funcs.
* camel/camel-mime-message.c (camel_mime_message_class_init): added recipient handling class funcs. svn path=/trunk/; revision=925
Diffstat (limited to 'camel/camel-mime-message.c')
-rw-r--r--camel/camel-mime-message.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c
index b39e9e60dd..f190c82f6f 100644
--- a/camel/camel-mime-message.c
+++ b/camel/camel-mime-message.c
@@ -47,6 +47,10 @@ static GString *_get_subject (CamelMimeMessage *mime_message);
static void _set_from (CamelMimeMessage *mime_message, GString *from);
static GString *_get_from (CamelMimeMessage *mime_message);
+static void _add_recipient (CamelMimeMessage *mime_message, GString *recipient_type, GString *recipient);
+static void _remove_recipient (CamelMimeMessage *mime_message, GString *recipient_type, GString *recipient);
+static GList *_get_recipients (CamelMimeMessage *mime_message, GString *recipient_type);
+
/* Returns the class for a CamelMimeMessage */
#define CMM_CLASS(so) CAMEL_MIME_MESSAGE_CLASS (GTK_OBJECT(so)->klass)
@@ -73,6 +77,9 @@ camel_mime_message_class_init (CamelMimeMessageClass *camel_mime_message_class)
camel_mime_message_class->get_subject = _get_subject;
camel_mime_message_class->set_from = _set_from;
camel_mime_message_class->get_from = _get_from;
+ camel_mime_message_class->add_recipient = _add_recipient;
+ camel_mime_message_class->remove_recipient = _remove_recipient;
+ camel_mime_message_class->get_recipients = _get_recipients;
/* virtual method overload */
}