libebook: Export the API for phone region guessing
authorMathias Hasselmann <mathias@openismus.com>
Fri, 1 Feb 2013 13:56:11 +0000 (14:56 +0100)
committerMathias Hasselmann <mathias@openismus.com>
Mon, 4 Feb 2013 17:09:07 +0000 (18:09 +0100)
commitc2158985ef17f31b56388d7d273f690831b660cb
tree0116e8d0a4df46c8ba4fb0c1f5b37023100514c0
parent3d704b9af6a75ce87e903017dcc9aef8da5869a8
libebook: Export the API for phone region guessing

This adds e_phone_number_get_country_code_for_region() and
e_phone_number_get_default_region() which give access to the
region guessing mechanisms. They are needed to efficently
build the sqlite backend's phone number indexes.

See: https://bugzilla.gnome.org/show_bug.cgi?id=689622
addressbook/libebook/e-phone-number-private.cpp
addressbook/libebook/e-phone-number-private.h
addressbook/libebook/e-phone-number.c
addressbook/libebook/e-phone-number.h
docs/reference/addressbook/libebook/libebook-sections.txt
tests/libebook/test-ebook-phone-number.c