Gjsify LogoGjsify Logo

Index

Enumerations

Classes

Interfaces

Variables

Functions

Variables

BOOK_BACKEND_PROPERTY_REQUIRED_FIELDS: string

Provides comma-separated list of required fields by the book backend. All of these attributes should be set, otherwise the backend will reject saving the contact.

The e_contact_field_id() can be used to transform the field name into an #EContactField.

BOOK_BACKEND_PROPERTY_REVISION: string

The current overall revision string, this can be used as a quick check to see if data has changed at all since the last time the addressbook revision was observed.

BOOK_BACKEND_PROPERTY_SUPPORTED_FIELDS: string

Provides comma-separated list of supported fields by the book backend. Attributes other than those listed here can be discarded. This can be used to enable/show only supported elements in GUI.

The e_contact_field_id() can be used to transform the field name into an #EContactField.

EVC_ADR: string
EVC_BDAY: string
EVC_CALURI: string
EVC_CATEGORIES: string
EVC_CL_UID: string
EVC_CONTACT_LIST: string
EVC_EMAIL: string
EVC_ENCODING: string
EVC_FBURL: string
EVC_FN: string
EVC_GEO: string
EVC_ICSCALENDAR: string
EVC_KEY: string
EVC_LABEL: string
EVC_LOGO: string
EVC_MAILER: string
EVC_N: string
EVC_NICKNAME: string
EVC_NOTE: string
EVC_ORG: string
EVC_PARENT_CL: string
EVC_PHOTO: string
EVC_PRODID: string
EVC_QUOTEDPRINTABLE: string
EVC_REV: string
EVC_ROLE: string
EVC_TEL: string
EVC_TITLE: string
EVC_TYPE: string
EVC_UID: string
EVC_URL: string
EVC_VALUE: string
EVC_VERSION: string
EVC_X_AIM: string
EVC_X_ANNIVERSARY: string
EVC_X_ASSISTANT: string
EVC_X_BIRTHDAY: string
EVC_X_BLOG_URL: string
EVC_X_BOOK_UID: string
EVC_X_CALLBACK: string
EVC_X_COMPANY: string
EVC_X_DEST_CONTACT_UID: string
EVC_X_DEST_EMAIL: string
EVC_X_DEST_EMAIL_NUM: string
EVC_X_DEST_HTML_MAIL: string
EVC_X_DEST_NAME: string
EVC_X_DEST_SOURCE_UID: string
EVC_X_E164: string
EVC_X_FILE_AS: string
EVC_X_GADUGADU: string
EVC_X_GOOGLE_TALK: string
EVC_X_GROUPWISE: string
EVC_X_ICQ: string
EVC_X_JABBER: string
EVC_X_LIST: string
EVC_X_LIST_NAME: string
EVC_X_LIST_SHOW_ADDRESSES: string
EVC_X_MANAGER: string
EVC_X_MATRIX: string
EVC_X_MSN: string
EVC_X_RADIO: string
EVC_X_SIP: string
EVC_X_SKYPE: string
EVC_X_SPOUSE: string
EVC_X_TELEX: string
EVC_X_TTYTDD: string
EVC_X_TWITTER: string

Twitter name(s).

EVC_X_VIDEO_URL: string
EVC_X_WANTS_HTML: string
EVC_X_YAHOO: string
SOURCE_EXTENSION_BACKEND_SUMMARY_SETUP: string

Pass this extension name to e_source_get_extension() to access #ESourceBackendSummarySetup. This is also used as a group name in key files.

VCARD_21_VALID_PARAMETERS: string

FIXME: Document me!

VCARD_21_VALID_PROPERTIES: string

FIXME: Document me!

Functions

  • book_client_error_quark(): Quark
  • Create a new #EBookQuery which is the logical AND of the queries in #qs.

    Parameters

    • nqs: number

      the number of queries to AND

    • qs: BookQuery

      pointer to an array of #EBookQuery items

    • unref: boolean

      if %TRUE, the new query takes ownership of the existing queries

    Returns BookQuery

  • book_query_any_field_contains(value: string): BookQuery
  • book_query_from_string(query_string: string): BookQuery
  • Creates a new #EBookQuery which is the logical OR of the queries in #qs.

    Parameters

    • nqs: number

      the number of queries to OR

    • qs: BookQuery

      pointer to an array of #EBookQuery items

    • unref: boolean

      if %TRUE, the new query takes ownership of the existing queries

    Returns BookQuery

  • book_query_vcard_field_exists(field: string): BookQuery
  • Creates a new #EBookQuery which tests if the field field exists. field should be a vCard field name, such as #EVC_FN or #EVC_X_MSN.

    Parameters

    • field: string

      a field name

    Returns BookQuery

  • book_util_conflict_resolution_to_operation_flags(conflict_resolution: ConflictResolution): number
  • Encodes the #EConflictResolution into the bit-or of #EBookOperationFlags. The returned value can be bit-or-ed with other #EBookOperationFlags values.

    Parameters

    Returns number

  • book_util_foreach_address(email_address: string, func: HRFunc): void
  • Parses the email_address and calls func for each found address. The first parameter of the func is the name, the second parameter of the func is the email, the third parameters of the func is the user_data. The func returns %TRUE, to continue processing.

    Parameters

    • email_address: string

      one or more email addresses as string

    • func: HRFunc

      a function to call for each email user_data (closure func): user data passed to func

    Returns void

  • contact_attr_list_copy(list: string[]): string[]
  • Copies a list of allocated strings, specifically for the #EContactAttrList boxed type used for multi valued contact fields.

    Parameters

    • list: string[]

      A #GList of strings

    Returns string[]

  • contact_attr_list_free(list: string[]): void
  • Frees a list of allocated strings, specifically for the #EContactAttrList boxed type used for multi valued contact fields.

    Parameters

    • list: string[]

      A #GList of strings

    Returns void

  • contact_name_from_string(name_str: string): ContactName
  • phone_number_compare_strings(first_number: string, second_number: string): PhoneNumberMatch
  • phone_number_compare_strings_with_region(first_number: string, second_number: string, region_code: string): PhoneNumberMatch
  • Compares two phone numbers within the context of region_code.

    Parameters

    • first_number: string

      the first EPhoneNumber to compare

    • second_number: string

      the second EPhoneNumber to compare

    • region_code: string

      a two-letter country code, or %NULL

    Returns PhoneNumberMatch

  • phone_number_error_quark(): Quark
  • phone_number_from_string(phone_number: string, region_code: string): PhoneNumber
  • Parses the string passed in phone_number. Note that no validation is performed whether the recognized phone number is valid for a particular region.

    The two-letter country code passed in region_code only is used if the phone_number is not written in international format. The application's default region as returned by e_phone_number_get_default_region() is used if region_code is %NULL.

    If the number is guaranteed to start with a '+' followed by the country calling code, then "ZZ" can be passed for region_code.

    Parameters

    • phone_number: string

      the phone number to parse

    • region_code: string

      a two-letter country code, or %NULL

    Returns PhoneNumber

  • phone_number_get_country_code_for_region(region_code: string): number
  • Retrieves the preferred country calling code for region_code, e.g. 358 for "fi" or 1 for "en_USUTF-8".

    If %NULL is passed for region_code the default region as returned by e_phone_number_get_default_region() is used.

    Parameters

    • region_code: string

      a two-letter country code, a locale name, or %NULL

    Returns number

  • phone_number_get_default_region(): string
  • Retrieves the current two-letter country code that's used by default for parsing phone numbers in e_phone_number_from_string(). It can be useful to store this number before parsing a bigger number of phone numbers.

    The result of this functions depends on the current setup of the %LC_ADDRESS category: If that category provides a reasonable value for %_NL_ADDRESS_COUNTRY_AB2 this value is returned. Otherwise the locale name configured for %LC_ADDRESS is parsed.

    Returns string

  • phone_number_is_supported(): boolean
  • Checks if phone number support is available. It is recommended to call this function before using any of the phone-utils functions to ensure that the required functionality is available, and to pick alternative mechanisms if needed.

    Returns boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method