Added Direct Read Access support to EBookClient
authorTristan Van Berkom <tristanvb@openismus.com>
Fri, 15 Feb 2013 09:15:18 +0000 (18:15 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Fri, 15 Feb 2013 09:47:06 +0000 (18:47 +0900)
commit87657065a524d9374eb2ca0cea65d94480dca2e8
treef06f8a8de09a6e30ab626993e32e996aab928cad
parentac48694373648fca68a87f2f829d65b2560a4e99
Added Direct Read Access support to EBookClient

Currently the only added api is e_book_client_connect_direct_sync().

If the backend associated to the given ESource does not support direct
read access, or the backend fails to open for any reason, then the
client falls back to regular read access.

EBookClientViews created from an EBookClient that is in direct read
access mode differ in functionality, they only receive UID notifications
over D-Bus and fetch the contact data directly.
addressbook/libebook/e-book-client-view.c
addressbook/libebook/e-book-client.c
addressbook/libebook/e-book-client.h