Top | ![]() |
![]() |
![]() |
![]() |
EDataBookViewWatcherCacheEDataBookViewWatcherCache — Watch EDataBookView changes with contacts in EBookCache |
GObject * | e_data_book_view_watcher_cache_new () |
void | e_data_book_view_watcher_cache_take_sort_fields () |
A structure used to handle "manual query" views for EBookBackend descendants which use EBookCache to store the contacts.
See E_BOOK_CLIENT_VIEW_FLAGS_MANUAL_QUERY
for what it means "manual query" view.
GObject * e_data_book_view_watcher_cache_new (EBookBackend *backend
,EBookCache *cache
,EDataBookView *view
);
Creates a new EDataBookViewWatcherCache, which will watch the view
and will provide the information about indices and total contacts
to the backend
, taking the data from the cache
.
Since: 3.50
void e_data_book_view_watcher_cache_take_sort_fields (EDataBookViewWatcherCache *self
,EBookClientViewSortFields *sort_fields
);
Sets sort_fields
as fields to sort the contacts by. If NULL
,
sorts by file-as field. The function assumes ownership of the sort_fields
.
Since: 3.50
struct EDataBookViewWatcherCache;
A structure used to handle "manual query" views for EBookBackend descendants which use EBookCache to store the contacts.
Since: 3.50