New function to find out if a destination was one which was auto-matically

2002-02-01  Jeffrey Stedfast  <fejj@ximian.com>

	* backend/ebook/e-destination.c (e_destination_is_auto_recipient):
	New function to find out if a destination was one which was
	auto-matically set by Evolution.
	(e_destination_set_auto_recipient): Set whether or not the dest is
	an auto-recipient.
	(e_destination_touch): Don't touch the address if it is an
	auto_recipient.
	(e_destination_list_to_vector_sized): New function to avoid having
	to calculate the length of the list ourselves. Allows for a bit of
	optimization if our caller knows the length of the list.
	(e_destination_xml_encode): Encode the auto_recipient bit.
	(e_destination_xml_decode): Decode the auto_recipient bit.

svn path=/trunk/; revision=15550
This commit is contained in:
Jeffrey Stedfast
2002-02-01 21:00:15 +00:00
committed by Jeffrey Stedfast
parent 7078e68956
commit 6235db69b8
3 changed files with 319 additions and 273 deletions

View File

@ -1,3 +1,18 @@
2002-02-01 Jeffrey Stedfast <fejj@ximian.com>
* backend/ebook/e-destination.c (e_destination_is_auto_recipient):
New function to find out if a destination was one which was
auto-matically set by Evolution.
(e_destination_set_auto_recipient): Set whether or not the dest is
an auto-recipient.
(e_destination_touch): Don't touch the address if it is an
auto_recipient.
(e_destination_list_to_vector_sized): New function to avoid having
to calculate the length of the list ourselves. Allows for a bit of
optimization if our caller knows the length of the list.
(e_destination_xml_encode): Encode the auto_recipient bit.
(e_destination_xml_decode): Decode the auto_recipient bit.
2002-02-01 Christopher James Lahey <clahey@ximian.com>
* backend/ebook/e-card-simple.c (e_card_simple_sync_card): Made

File diff suppressed because it is too large Load Diff

View File

@ -82,6 +82,9 @@ void e_destination_set_html_mail_pref (EDestination *, gboolean);
gboolean e_destination_contains_card (const EDestination *);
gboolean e_destination_from_card (const EDestination *);
gboolean e_destination_is_auto_recipient (const EDestination *);
void e_destination_set_auto_recipient (EDestination *, gboolean value);
void e_destination_use_card (EDestination *, EDestinationCardCallback cb, gpointer closure);
ECard *e_destination_get_card (const EDestination *);
@ -122,7 +125,9 @@ EDestination *e_destination_import (const gchar *str);
gchar *e_destination_exportv (EDestination **);
EDestination **e_destination_importv (const gchar *str);
EDestination **e_destination_list_to_vector (GList *);
EDestination **e_destination_list_to_vector_sized (GList *, int n);
EDestination **e_destination_list_to_vector (GList *);
void e_destination_freev (EDestination **);
void e_destination_touch (EDestination *);