Constructor

EDataBookDataBookViewWatcherCachenew

since: 3.50

Declaration [src]

GObject*
e_data_book_view_watcher_cache_new (
  EBookBackend* backend,
  EBookCache* cache,
  EDataBookView* view
)

Description [src]

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.

Available since: 3.50

Parameters

backend

Type: EBookBackend

An EBookBackend.

The data is owned by the caller of the function.
cache

Type: EBookCache

An EBookCache.

The data is owned by the caller of the function.
view

Type: EDataBookView

An EDataBookView.

The data is owned by the caller of the function.

Return value

Type: GObject

A new EDataBookViewWatcherCache.

The caller of the function takes ownership of the data, and is responsible for freeing it.