EBookBackend: Added apis for backends to support Direct Read Access
authorTristan Van Berkom <tristanvb@openismus.com>
Fri, 15 Feb 2013 08:54:24 +0000 (17:54 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Fri, 15 Feb 2013 09:47:06 +0000 (18:47 +0900)
commit384d6f5684e2b83b8582642867cc8809c26ae3c8
treee1177e7b98d4b24447cc3c5a0c9c565e7842db68
parent4be7d7511a36adbd28f4a067862d5c742714dd8d
EBookBackend: Added apis for backends to support Direct Read Access

e_book_backend_get_direct_book:
  A backend can return an EDataBookDirect from here to indicate
  that it supports direct read access, the properties of the EDataBookDirect
  are used by the client to access the book directly

e_book_backend_configure_direct:
  A backend opened in direct read access mode can be configured with
  the string that it's server side counterpart provided, this string
  belongs to the backend; for the local file backend it is used as
  a path to ensure the same SQLite DB is opened by the client as the
  one running in the server.
addressbook/libedata-book/e-book-backend.c
addressbook/libedata-book/e-book-backend.h
configure.ac