Top | ![]() |
![]() |
![]() |
![]() |
struct _EBookClient * | e_book_client_view_ref_client () |
GDBusConnection * | e_book_client_view_get_connection () |
const gchar * | e_book_client_view_get_object_path () |
gboolean | e_book_client_view_is_running () |
void | e_book_client_view_set_fields_of_interest () |
void | e_book_client_view_start () |
void | e_book_client_view_stop () |
void | e_book_client_view_set_flags () |
struct _EBookClient * | e_book_client_view_get_client () |
EBookClient * | client | Read / Write / Construct Only |
GDBusConnection * | connection | Read / Write / Construct Only |
EBookBackend * | direct-backend | Write / Construct Only |
gchar * | object-path | Read / Write / Construct Only |
void | complete | Run Last |
void | objects-added | Run Last |
void | objects-modified | Run Last |
void | objects-removed | Run Last |
void | progress | Run Last |
struct _EBookClient *
e_book_client_view_ref_client (EBookClientView *client_view
);
Returns the “client” associated with client_view
.
The returned EBookClient is referenced for thread-safety. Unreference
the EBookClient with g_object_unref()
when finished with it.
Since 3.10
GDBusConnection *
e_book_client_view_get_connection (EBookClientView *client_view
);
Returns the GDBusConnection used to create the D-Bus proxy.
Since 3.8
const gchar *
e_book_client_view_get_object_path (EBookClientView *client_view
);
Returns the object path used to create the D-Bus proxy.
Since 3.8
gboolean
e_book_client_view_is_running (EBookClientView *client_view
);
void e_book_client_view_set_fields_of_interest (EBookClientView *client_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.
void e_book_client_view_start (EBookClientView *client_view
,GError **error
);
Tells client_view
to start processing events.
void e_book_client_view_stop (EBookClientView *client_view
,GError **error
);
Tells client_view
to stop processing events.
void e_book_client_view_set_flags (EBookClientView *client_view
,EBookClientViewFlags flags
,GError **error
);
Sets the flags
which control the behaviour of client_view
.
Since 3.4
struct _EBookClient *
e_book_client_view_get_client (EBookClientView *client_view
);
e_book_client_view_get_client
has been deprecated since version 3.10 and should not be used in newly-written code.
Use e_book_client_view_ref_client()
instead.
Returns the “client” associated with client_view
.
“client”
property“client” EBookClient *
The EBookClient for the view.
Flags: Read / Write / Construct Only
“connection”
property“connection” GDBusConnection *
The GDBusConnection used to create the D-Bus proxy.
Flags: Read / Write / Construct Only
“direct-backend”
property “direct-backend” EBookBackend *
The EBookBackend to fetch contact data from, if direct read access is enabled.
Flags: Write / Construct Only
“object-path”
property“object-path” gchar *
The object path used to create the D-Bus proxy.
Flags: Read / Write / Construct Only
Default value: NULL
“complete”
signalvoid user_function (EBookClientView *ebookclientview, GError *arg1, gpointer user_data)
Flags: Run Last
“objects-added”
signalvoid user_function (EBookClientView *ebookclientview, gpointer arg1, gpointer user_data)
Flags: Run Last
“objects-modified”
signalvoid user_function (EBookClientView *ebookclientview, gpointer arg1, gpointer user_data)
Flags: Run Last
“objects-removed”
signalvoid user_function (EBookClientView *ebookclientview, gpointer arg1, gpointer user_data)
Flags: Run Last
“progress”
signalvoid user_function (EBookClientView *ebookclientview, guint arg1, gchar *arg2, gpointer user_data)
Flags: Run Last