Top | ![]() |
![]() |
![]() |
![]() |
EDestination * e_destination_new (void
);
Creates a new
EDestination * e_destination_copy (const
);EDestination *dest
Creates a new dest
.
gboolean e_destination_empty (const
);EDestination *dest
Checks if dest
is blank.
gboolean e_destination_equal (const
,EDestination *aconst
);EDestination *b
Checks if a
and b
are equal.
void e_destination_set_contact (,
EDestination *dest,
EContact *contact);
gint email_num
Sets dest
to point to one of contact
's e-mail addresses
indicated by email_num
.
void e_destination_set_contact_uid (,
EDestination *destconst
,gchar *uid);
gint email_num
Sets dest
to point to one of the contact specified by uid
's e-mail
addresses indicated by email_num
.
void e_destination_set_client (,
EDestination *destEBookClient *client
);
Specify the source dest
's contact comes from. This is useful
if you need to update the contact later.
Since: 3.2
EContact * e_destination_get_contact (const
);EDestination *dest
Gets the contact dest
is pointing to, if any.
constgchar * e_destination_get_source_uid (const
);EDestination *dest
Gets the unique source ID dest
is pointing to, if any. The source
ID specifies which address book dest
's contact came from.
constgchar * e_destination_get_contact_uid (const
);EDestination *dest
Gets the unique contact ID dest
is pointing to, if any.
gint e_destination_get_email_num (const
);EDestination *dest
Gets the index of the e-mail address of the contact that
dest
is pointing to, if any.
void e_destination_set_name (,
EDestination *destconst
);gchar *name
Sets the full name of dest
's addressee.
void e_destination_set_email (,
EDestination *destconst
);gchar *email
Sets the e-mail address of dest
's addressee.
constgchar * e_destination_get_name (const
);EDestination *dest
Gets the full name of dest
's addressee, or if the addressee is
a contact list, the name the list was filed under.
constgchar * e_destination_get_email (const
);EDestination *dest
Gets the e-mail address of dest
's addressee.
constgchar * e_destination_get_address (const
);EDestination *dest
Gets the encoded name and email address, or in the case of lists, the
encoded list of email addresses, from dest
. The returned string is
suitable for use in an email header, but not for displaying to users.
gboolean e_destination_is_evolution_list (const
);EDestination *dest
Checks if dest
is a list of addresses.
gboolean e_destination_list_show_addresses (const
);EDestination *dest
If dest
is a list, checks if the addresses in the list
should be presented to the user during interaction.
constGList * e_destination_list_get_dests (const
);EDestination *dest
If dest
is a list, gets recursively list of all destinations.
Everything returned from this function belongs to dest
and
thus should not be freed.
A list of elements of type NULL
[element-type EDestination][transfer none]
Since: 3.2
constGList * e_destination_list_get_root_dests (const
);EDestination *dest
If dest
is a list, gets the list of EDestinations assigned directly
to dest
.
The list and its elements belong to dest
, and should not be freed.
A list of elements of type NULL
[element-type EDestination][transfer none]
Since: 3.2
gboolean e_destination_is_ignored (const
);EDestination *dest
Check if dest
is to be ignored.
void e_destination_set_ignored (,
EDestination *dest);
gboolean ignored
Set the ignore flag on a
gboolean e_destination_get_html_mail_pref (const
);EDestination *dest
Check if dest
wants to get mail formatted as HTML.
void e_destination_set_html_mail_pref (,
EDestination *dest);
gboolean flag
Specifies whether dest
wants to get mail formatted as HTML.
gboolean e_destination_is_auto_recipient (const
);EDestination *dest
Checks if dest
is flagged as an automatic recipient, meaning
it was not explicitly specified by the user. This can be used
to hide it from some UI elements.
void e_destination_set_auto_recipient (,
EDestination *dest);
gboolean value
Sets the flag indicating if dest
is an automatic recipient, meaning
it was not explicitly specified by the user. This can be used
to hide it from some UI elements.
void e_destination_set_raw (,
EDestination *destconst
);gchar *raw
Sets dest
to point to the name and e-mail address resulting from
parsing the supplied string. Useful for user input.
constgchar * e_destination_get_textrep (const
,EDestination *dest);
gboolean include_email
Generates a textual representation of dest
, suitable for referring
to the destination during user interaction.
gchar * e_destination_get_textrepv ();
EDestination **destv
Generates a joint text representation of all the destv
.
gchar * e_destination_export (const
);EDestination *dest
Exports a destination to an XML document.
gchar * e_destination_exportv ();
EDestination **destv
Exports multiple
EDestination * e_destination_import (const
);gchar *str
Creates an
EDestination ** e_destination_importv (const
);gchar *str
Creates an array of pointers to
void e_destination_export_to_vcard_attribute (,
EDestination *dest);
EVCardAttribute *attr
Exports the contact information from dest
to parameters
and values in attr
, suitable for an address book.
void e_destination_freev ();
EDestination **destv
Unrefs the elements of destv
and frees destv
itself.
void e_destination_set_book (,
EDestination *destEBook *book
);
e_destination_set_book
has been deprecated since version 3.2 and should not be used in newly-written code.
Use e_destination_set_client()
instead.
Specify the source dest
's contact comes from. This is useful
if you need to update the contact later.