- public Destination copy ()
Creates a new Destination identical to
this.
- public bool empty ()
Checks if this is blank.
- public bool equal (Destination b)
Checks if this and b
are equal.
- public string export ()
Exports a destination to an XML document.
- public void export_to_vcard_attribute (VCardAttribute attr)
Exports the contact information from this
to parameters and values in attr
, suitable for an address book.
- public unowned string? get_address ()
Gets the encoded name and email address, or in the case of lists, the
encoded list of email addresses, from this.
- public unowned Contact? get_contact ()
Gets the contact this is pointing
to, if any.
- public unowned string? get_contact_uid ()
Gets the unique contact ID this is
pointing to, if any.
- public unowned string get_email ()
Gets the e-mail address of this's
addressee.
- public int get_email_num ()
Gets the index of the e-mail address of the contact that
this is pointing to, if any.
- public bool get_html_mail_pref ()
Check if this wants to get mail
formatted as HTML.
- public unowned string? get_name ()
Gets the full name of this's
addressee, or if the addressee is a contact list, the name the list was filed under.
- public unowned string? get_source_uid ()
Gets the unique source ID this is
pointing to, if any.
- public unowned string get_textrep (bool include_email)
Generates a textual representation of this
, suitable for referring to the destination during user interaction.
- public bool is_auto_recipient ()
Checks if this is flagged as an
automatic recipient, meaning it was not explicitly specified by the user.
- public bool is_evolution_list ()
Checks if this is a list of
addresses.
- public bool is_ignored ()
Check if this is to be ignored.
- public unowned List<Destination>? list_get_dests ()
If this is a list, gets recursively
list of all destinations.
- public unowned List<Destination>? list_get_root_dests ()
If this is a list, gets the list of
EDestinations assigned directly to this.
- public bool list_show_addresses ()
If this is a list, checks if the
addresses in the list should be presented to the user during interaction.
- public void set_auto_recipient (bool value)
Sets the flag indicating if this is
an automatic recipient, meaning it was not explicitly specified by the user.
- public void set_client (BookClient client)
Specify the source this's contact
comes from.
- public void set_contact (Contact contact, int email_num)
Sets this to point to one of
contact
's e-mail addresses indicated by email_num
.
- public void set_contact_uid (string uid, int email_num)
Sets this to point to one of the
contact specified by uid
's e-mail addresses indicated by email_num
.
- public void set_email (string email)
Sets the e-mail address of this's
addressee.
- public void set_html_mail_pref (bool flag)
Specifies whether this wants to get
mail formatted as HTML.
- public void set_ignored (bool ignored)
Set the ignore flag on an Destination.
- public void set_name (string name)
Sets the full name of this's
addressee.
- public void set_raw (string raw)
Sets this to point to the name and
e-mail address resulting from parsing the supplied string.