Added EDataBookCursor & EDataBookCursorSqlite
authorTristan Van Berkom <tristanvb@openismus.com>
Sat, 19 Oct 2013 18:03:54 +0000 (20:03 +0200)
committerTristan Van Berkom <tristanvb@openismus.com>
Wed, 23 Oct 2013 18:39:39 +0000 (20:39 +0200)
commite0cc4b07270348023104192db66545e104d94562
tree42a71eda18d0162978f467b76ecbcd9a4dd6f23c
parentff553521883f7c11548152f6014ba79d81d29d0c
Added EDataBookCursor & EDataBookCursorSqlite

EDataBookCursor is an abstract class with the mid-level cursor APIs, it
takes care of responding to D-Bus APIs and provides an API which can
be used in Direct Read Access mode but does not implement the actual
cursor state and navigation directly.

EDataBookCursorSqlite is a cursor implementation which uses
a EBookBackendSqliteDB cursor to implement the EDataBookCursor
methods.

This patch also adds the E_CLIENT_ERROR_END_OF_LIST error, intended
to be a generic boundary error when a client api reaches the end
of some list of data (this is used by the cursor API of course
to report an error when trying to navigate the cursor outside of the
list boundaries).
addressbook/libebook-contacts/e-book-contacts-types.h
addressbook/libedata-book/Makefile.am
addressbook/libedata-book/e-data-book-cursor-sqlite.c [new file with mode: 0644]
addressbook/libedata-book/e-data-book-cursor-sqlite.h [new file with mode: 0644]
addressbook/libedata-book/e-data-book-cursor.c [new file with mode: 0644]
addressbook/libedata-book/e-data-book-cursor.h [new file with mode: 0644]
addressbook/libedata-book/libedata-book.h
po/POTFILES.in