2004-03-30 Chris Toshok <toshok@ximian.com>
[ backend portion of fix for #48665 ]
* libedata-book/e-data-book.c
(impl_GNOME_Evolution_Addressbook_Book_getBookView): pass
max_results to e_data_book_view_new.
* backends/ldap/e-book-backend-ldap.c
(e_book_backend_ldap_search): pass the book view's @max_results as
the ldap search limit.
* libedata-book/e-data-book-view.c (e_data_book_view_new): add
@max_results and pass it to ::construct.
(e_data_book_view_construct): add @max_results.
(e_data_book_view_get_max_results): new function.
* libedata-book/e-data-book-view.h: add max_results arg to ::new,
and add prototype for e_data_book_view_get_max_results.
EDataBookView *e_data_book_view_new (EBookBackend *backend,
GNOME_Evolution_Addressbook_BookViewListener listener,
const char *card_query,
- EBookBackendSExp *card_sexp);
+ EBookBackendSExp *card_sexp,
+ int max_results);
const char* e_data_book_view_get_card_query (EDataBookView *book_view);
EBookBackendSExp* e_data_book_view_get_card_sexp (EDataBookView *book_view);
+int e_data_book_view_get_max_results (EDataBookView *book_view);
EBookBackend* e_data_book_view_get_backend (EDataBookView *book_view);
GNOME_Evolution_Addressbook_BookViewListener e_data_book_view_get_listener (EDataBookView *book_view);
GMutex* e_data_book_view_get_mutex (EDataBookView *book_view);