![]() |
![]() |
![]() |
Evolution-Data-Server Manual: Address Book Client (libebook) | ![]() |
---|---|---|---|---|
Top | Description |
struct EBookClientView; struct _EBookClient * e_book_client_view_get_client (EBookClientView *view
); gboolean e_book_client_view_is_running (EBookClientView *view
); void e_book_client_view_set_fields_of_interest (EBookClientView *view
,const GSList *fields_of_interest
,GError **error
); void e_book_client_view_start (EBookClientView *view
,GError **error
); void e_book_client_view_stop (EBookClientView *view
,GError **error
);
struct _EBookClient * e_book_client_view_get_client (EBookClientView *view
);
Returns the EBookClient that this book view is monitoring.
|
an EBookClientView |
Returns : |
an EBookClient. [transfer none] |
void e_book_client_view_set_fields_of_interest (EBookClientView *view
,const GSList *fields_of_interest
,GError **error
);
Client can instruct server to which fields it is interested in only, thus
the server can return less data over the wire. The server can still return
complete objects, this is just a hint to it that the listed fields will
be used only. The UID field is returned always. Initial views has no fields
of interest and using NULL
for fields_of_interest
will unset any previous
changes.
Some backends can use summary information of its cache to create artifical objects, which will omit stored object parsing. If this cannot be done then it will simply return object as is stored in the cache.
|
An EBookClientView object |
|
List of field names in which the client is interested. [element-type utf8] |
|
A GError |
void e_book_client_view_start (EBookClientView *view
,GError **error
);
Tells view
to start processing events.
|
an EBookClientView |
|
A GError |
void e_book_client_view_stop (EBookClientView *view
,GError **error
);
Tells view
to stop processing events.
|
an EBookClientView |
|
A GError |