Top | ![]() |
![]() |
![]() |
![]() |
GInterface ╰── EDBusAddressBook GObject ├── GDBusInterfaceSkeleton │ ╰── EDBusAddressBookSkeleton ╰── GDBusProxy ╰── EDBusAddressBookProxy
EDBusAddressBookProxy implements GDBusInterface, GInitable, GAsyncInitable and EDBusAddressBook.
EDBusAddressBookSkeleton implements GDBusInterface and EDBusAddressBook.
EDBusAddressBook is implemented by EDBusAddressBookProxy and EDBusAddressBookSkeleton.
gboolean
e_dbus_address_book_get_online (EDBusAddressBook *object
);
Gets the value of the "Online" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
Since 3.8
void e_dbus_address_book_set_online (EDBusAddressBook *object
,gboolean value
);
Sets the "Online" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
Since 3.8
const gchar *
e_dbus_address_book_get_revision (EDBusAddressBook *object
);
Gets the value of the "Revision" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use e_dbus_address_book_dup_revision()
if on another thread. The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
Since 3.8
gchar *
e_dbus_address_book_dup_revision (EDBusAddressBook *object
);
Gets a copy of the "Revision" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value or NULL
if the property is not set. The returned value should be freed with g_free()
.
[transfer full]
Since 3.8
void e_dbus_address_book_set_revision (EDBusAddressBook *object
,const gchar *value
);
Sets the "Revision" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
Since 3.8
const gchar *
e_dbus_address_book_get_locale (EDBusAddressBook *object
);
Gets the value of the "Locale" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use e_dbus_address_book_dup_locale()
if on another thread. The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
Since 3.8
gchar *
e_dbus_address_book_dup_locale (EDBusAddressBook *object
);
Gets a copy of the "Locale" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value or NULL
if the property is not set. The returned value should be freed with g_free()
.
[transfer full]
Since 3.8
void e_dbus_address_book_set_locale (EDBusAddressBook *object
,const gchar *value
);
Sets the "Locale" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
Since 3.8
gboolean
e_dbus_address_book_get_writable (EDBusAddressBook *object
);
Gets the value of the "Writable" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
Since 3.8
void e_dbus_address_book_set_writable (EDBusAddressBook *object
,gboolean value
);
Sets the "Writable" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
Since 3.8
const gchar *
e_dbus_address_book_get_cache_dir (EDBusAddressBook *object
);
Gets the value of the "CacheDir" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use e_dbus_address_book_dup_cache_dir()
if on another thread. The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
Since 3.8
gchar *
e_dbus_address_book_dup_cache_dir (EDBusAddressBook *object
);
Gets a copy of the "CacheDir" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value or NULL
if the property is not set. The returned value should be freed with g_free()
.
[transfer full]
Since 3.8
void e_dbus_address_book_set_cache_dir (EDBusAddressBook *object
,const gchar *value
);
Sets the "CacheDir" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
Since 3.8
const gchar *const *
e_dbus_address_book_get_capabilities (EDBusAddressBook *object
);
Gets the value of the "Capabilities" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use e_dbus_address_book_dup_capabilities()
if on another thread. The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
Since 3.8
gchar **
e_dbus_address_book_dup_capabilities (EDBusAddressBook *object
);
Gets a copy of the "Capabilities" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value or NULL
if the property is not set. The returned value should be freed with g_strfreev()
.
[transfer full]
Since 3.8
void e_dbus_address_book_set_capabilities (EDBusAddressBook *object
,const gchar *const *value
);
Sets the "Capabilities" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
Since 3.8
const gchar *const *
e_dbus_address_book_get_required_fields
(EDBusAddressBook *object
);
Gets the value of the "RequiredFields" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use e_dbus_address_book_dup_required_fields()
if on another thread. The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
Since 3.8
gchar **
e_dbus_address_book_dup_required_fields
(EDBusAddressBook *object
);
Gets a copy of the "RequiredFields" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value or NULL
if the property is not set. The returned value should be freed with g_strfreev()
.
[transfer full]
Since 3.8
void e_dbus_address_book_set_required_fields (EDBusAddressBook *object
,const gchar *const *value
);
Sets the "RequiredFields" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
Since 3.8
const gchar *const *
e_dbus_address_book_get_supported_fields
(EDBusAddressBook *object
);
Gets the value of the "SupportedFields" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
object
was constructed. Use e_dbus_address_book_dup_supported_fields()
if on another thread. The property value or NULL
if the property is not set. Do not free the returned value, it belongs to object
.
[transfer none]
Since 3.8
gchar **
e_dbus_address_book_dup_supported_fields
(EDBusAddressBook *object
);
Gets a copy of the "SupportedFields" D-Bus property.
Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
The property value or NULL
if the property is not set. The returned value should be freed with g_strfreev()
.
[transfer full]
Since 3.8
void e_dbus_address_book_set_supported_fields (EDBusAddressBook *object
,const gchar *const *value
);
Sets the "SupportedFields" D-Bus property to value
.
Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
Since 3.8
gboolean e_dbus_address_book_call_open_sync (EDBusAddressBook *proxy
,gchar ***out_properties
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Open()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_open()
for the asynchronous version of this method.
proxy |
||
out_properties |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_open (EDBusAddressBook *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Open()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_open_finish()
to get the result of the operation.
See e_dbus_address_book_call_open_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_open_finish (EDBusAddressBook *proxy
,gchar ***out_properties
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_open()
.
proxy |
||
out_properties |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_open (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *const *properties
);
Helper function used in service implementations to finish handling invocations of the Open()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
gboolean e_dbus_address_book_call_close_sync (EDBusAddressBook *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Close()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_close()
for the asynchronous version of this method.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_close (EDBusAddressBook *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Close()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_close_finish()
to get the result of the operation.
See e_dbus_address_book_call_close_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_close_finish (EDBusAddressBook *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_close()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_close (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Close()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
gboolean e_dbus_address_book_call_refresh_sync (EDBusAddressBook *proxy
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the Refresh()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_refresh()
for the asynchronous version of this method.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_refresh (EDBusAddressBook *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the Refresh()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_refresh_finish()
to get the result of the operation.
See e_dbus_address_book_call_refresh_sync()
for the synchronous, blocking version of this method.
proxy |
||
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_refresh_finish (EDBusAddressBook *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_refresh()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_refresh (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the Refresh()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
gboolean e_dbus_address_book_call_create_contacts_sync (EDBusAddressBook *proxy
,const gchar *const *arg_vcards
,gchar ***out_uids
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the CreateContacts()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_create_contacts()
for the asynchronous version of this method.
proxy |
||
arg_vcards |
Argument to pass with the method invocation. |
|
out_uids |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_create_contacts (EDBusAddressBook *proxy
,const gchar *const *arg_vcards
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the CreateContacts()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_create_contacts_finish()
to get the result of the operation.
See e_dbus_address_book_call_create_contacts_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_vcards |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_create_contacts_finish (EDBusAddressBook *proxy
,gchar ***out_uids
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_create_contacts()
.
proxy |
||
out_uids |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_create_contacts (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *const *uids
);
Helper function used in service implementations to finish handling invocations of the CreateContacts()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
gboolean e_dbus_address_book_call_modify_contacts_sync (EDBusAddressBook *proxy
,const gchar *const *arg_vcards
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the ModifyContacts()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_modify_contacts()
for the asynchronous version of this method.
proxy |
||
arg_vcards |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_modify_contacts (EDBusAddressBook *proxy
,const gchar *const *arg_vcards
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the ModifyContacts()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_modify_contacts_finish()
to get the result of the operation.
See e_dbus_address_book_call_modify_contacts_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_vcards |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_modify_contacts_finish (EDBusAddressBook *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_modify_contacts()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_modify_contacts (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the ModifyContacts()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
gboolean e_dbus_address_book_call_remove_contacts_sync (EDBusAddressBook *proxy
,const gchar *const *arg_uids
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the RemoveContacts()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_remove_contacts()
for the asynchronous version of this method.
proxy |
||
arg_uids |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_remove_contacts (EDBusAddressBook *proxy
,const gchar *const *arg_uids
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the RemoveContacts()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_remove_contacts_finish()
to get the result of the operation.
See e_dbus_address_book_call_remove_contacts_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_uids |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_remove_contacts_finish (EDBusAddressBook *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_remove_contacts()
.
proxy |
||
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_remove_contacts (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
);
Helper function used in service implementations to finish handling invocations of the RemoveContacts()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
gboolean e_dbus_address_book_call_get_contact_sync (EDBusAddressBook *proxy
,const gchar *arg_uid
,gchar **out_vcard
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetContact()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_get_contact()
for the asynchronous version of this method.
proxy |
||
arg_uid |
Argument to pass with the method invocation. |
|
out_vcard |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_get_contact (EDBusAddressBook *proxy
,const gchar *arg_uid
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetContact()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_get_contact_finish()
to get the result of the operation.
See e_dbus_address_book_call_get_contact_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_uid |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_get_contact_finish (EDBusAddressBook *proxy
,gchar **out_vcard
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_get_contact()
.
proxy |
||
out_vcard |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_get_contact (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *vcard
);
Helper function used in service implementations to finish handling invocations of the GetContact()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
gboolean e_dbus_address_book_call_get_contact_list_sync (EDBusAddressBook *proxy
,const gchar *arg_query
,gchar ***out_vcards
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetContactList()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_get_contact_list()
for the asynchronous version of this method.
proxy |
||
arg_query |
Argument to pass with the method invocation. |
|
out_vcards |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_get_contact_list (EDBusAddressBook *proxy
,const gchar *arg_query
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetContactList()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_get_contact_list_finish()
to get the result of the operation.
See e_dbus_address_book_call_get_contact_list_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_query |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_get_contact_list_finish (EDBusAddressBook *proxy
,gchar ***out_vcards
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_get_contact_list()
.
proxy |
||
out_vcards |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_get_contact_list (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *const *vcards
);
Helper function used in service implementations to finish handling invocations of the GetContactList()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
gboolean e_dbus_address_book_call_get_contact_list_uids_sync (EDBusAddressBook *proxy
,const gchar *arg_query
,gchar ***out_uids
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetContactListUids()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_get_contact_list_uids()
for the asynchronous version of this method.
proxy |
||
arg_query |
Argument to pass with the method invocation. |
|
out_uids |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_get_contact_list_uids (EDBusAddressBook *proxy
,const gchar *arg_query
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetContactListUids()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_get_contact_list_uids_finish()
to get the result of the operation.
See e_dbus_address_book_call_get_contact_list_uids_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_query |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_get_contact_list_uids_finish (EDBusAddressBook *proxy
,gchar ***out_uids
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_get_contact_list_uids()
.
proxy |
||
out_uids |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_get_contact_list_uids (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *const *uids
);
Helper function used in service implementations to finish handling invocations of the GetContactListUids()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
gboolean e_dbus_address_book_call_get_view_sync (EDBusAddressBook *proxy
,const gchar *arg_query
,gchar **out_object_path
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetView()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_get_view()
for the asynchronous version of this method.
proxy |
||
arg_query |
Argument to pass with the method invocation. |
|
out_object_path |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_get_view (EDBusAddressBook *proxy
,const gchar *arg_query
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetView()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_get_view_finish()
to get the result of the operation.
See e_dbus_address_book_call_get_view_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_query |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_get_view_finish (EDBusAddressBook *proxy
,gchar **out_object_path
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_get_view()
.
proxy |
||
out_object_path |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_get_view (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *object_path
);
Helper function used in service implementations to finish handling invocations of the GetView()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
gboolean e_dbus_address_book_call_get_cursor_sync (EDBusAddressBook *proxy
,const gchar *arg_query
,const gchar *const *arg_sort_keys
,const gchar *const *arg_sort_types
,gchar **out_object_path
,GCancellable *cancellable
,GError **error
);
Synchronously invokes the GetCursor()
D-Bus method on proxy
. The calling thread is blocked until a reply is received.
See e_dbus_address_book_call_get_cursor()
for the asynchronous version of this method.
proxy |
||
arg_query |
Argument to pass with the method invocation. |
|
arg_sort_keys |
Argument to pass with the method invocation. |
|
arg_sort_types |
Argument to pass with the method invocation. |
|
out_object_path |
Return location for return parameter or |
[out] |
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_call_get_cursor (EDBusAddressBook *proxy
,const gchar *arg_query
,const gchar *const *arg_sort_keys
,const gchar *const *arg_sort_types
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously invokes the GetCursor()
D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_call_get_cursor_finish()
to get the result of the operation.
See e_dbus_address_book_call_get_cursor_sync()
for the synchronous, blocking version of this method.
proxy |
||
arg_query |
Argument to pass with the method invocation. |
|
arg_sort_keys |
Argument to pass with the method invocation. |
|
arg_sort_types |
Argument to pass with the method invocation. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied or |
|
user_data |
User data to pass to |
Since 3.8
gboolean e_dbus_address_book_call_get_cursor_finish (EDBusAddressBook *proxy
,gchar **out_object_path
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_get_cursor()
.
proxy |
||
out_object_path |
Return location for return parameter or |
[out] |
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
Since 3.8
void e_dbus_address_book_complete_get_cursor (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *object_path
);
Helper function used in service implementations to finish handling invocations of the GetCursor()
D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
This method will free invocation
, you cannot use it afterwards.
Since 3.8
void e_dbus_address_book_emit_error (EDBusAddressBook *object
,const gchar *arg_error_message
);
Emits the "Error" D-Bus signal.
Since 3.8
GDBusInterfaceInfo *
e_dbus_address_book_interface_info (void
);
Gets a machine-readable description of the org.gnome.evolution.dataserver.AddressBook D-Bus interface.
Since 3.8
guint e_dbus_address_book_override_properties (GObjectClass *klass
,guint property_id_begin
);
Overrides all GObject properties in the EDBusAddressBook interface for a concrete class. The properties are overridden in the order they are defined.
klass |
The class structure for a GObject-derived class. |
|
property_id_begin |
The property id to assign to the first overridden property. |
Since 3.8
EDBusAddressBook * e_dbus_address_book_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Synchronously creates a proxy for the D-Bus interface org.gnome.evolution.dataserver.AddressBook. See g_dbus_proxy_new_sync()
for more details.
The calling thread is blocked until a reply is received.
See e_dbus_address_book_proxy_new()
for the asynchronous version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[allow-none] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type EDBusAddressBookProxy]
Since 3.8
void e_dbus_address_book_proxy_new (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Asynchronously creates a proxy for the D-Bus interface org.gnome.evolution.dataserver.AddressBook. See g_dbus_proxy_new()
for more details.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_proxy_new_finish()
to get the result of the operation.
See e_dbus_address_book_proxy_new_sync()
for the synchronous, blocking version of this constructor.
connection |
||
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique) or |
[allow-none] |
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
Since 3.8
EDBusAddressBook * e_dbus_address_book_proxy_new_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_proxy_new()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type EDBusAddressBookProxy]
Since 3.8
EDBusAddressBook * e_dbus_address_book_proxy_new_for_bus_sync (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
);
Like e_dbus_address_book_proxy_new_sync()
but takes a GBusType instead of a GDBusConnection.
The calling thread is blocked until a reply is received.
See e_dbus_address_book_proxy_new_for_bus()
for the asynchronous version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type EDBusAddressBookProxy]
Since 3.8
void e_dbus_address_book_proxy_new_for_bus (GBusType bus_type
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
);
Like e_dbus_address_book_proxy_new()
but takes a GBusType instead of a GDBusConnection.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from.
You can then call e_dbus_address_book_proxy_new_for_bus_finish()
to get the result of the operation.
See e_dbus_address_book_proxy_new_for_bus_sync()
for the synchronous, blocking version of this constructor.
bus_type |
A GBusType. |
|
flags |
Flags from the GDBusProxyFlags enumeration. |
|
name |
A bus name (well-known or unique). |
|
object_path |
An object path. |
|
cancellable |
A GCancellable or |
[allow-none] |
callback |
A GAsyncReadyCallback to call when the request is satisfied. |
|
user_data |
User data to pass to |
Since 3.8
EDBusAddressBook * e_dbus_address_book_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_proxy_new_for_bus()
.
res |
The GAsyncResult obtained from the GAsyncReadyCallback passed to |
|
error |
Return location for error or |
The constructed proxy object or NULL
if error
is set.
[transfer full][type EDBusAddressBookProxy]
Since 3.8
EDBusAddressBook *
e_dbus_address_book_skeleton_new (void
);
Creates a skeleton object for the D-Bus interface org.gnome.evolution.dataserver.AddressBook.
Since 3.8
typedef struct _EDBusAddressBook EDBusAddressBook;
Abstract interface type for the D-Bus interface org.gnome.evolution.dataserver.AddressBook.
Since 3.8
struct EDBusAddressBookProxy;
The EDBusAddressBookProxy structure contains only private data and should only be accessed using the provided API.
Since 3.8
struct EDBusAddressBookSkeleton;
The EDBusAddressBookSkeleton structure contains only private data and should only be accessed using the provided API.
Since 3.8
“cache-dir”
property“cache-dir” gchar *
Represents the D-Bus property "CacheDir".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: NULL
Since 3.8
“capabilities”
property“capabilities” GStrv
Represents the D-Bus property "Capabilities".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Since 3.8
“locale”
property“locale” gchar *
Represents the D-Bus property "Locale".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: NULL
Since 3.8
“online”
property“online” gboolean
Represents the D-Bus property "Online".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: FALSE
Since 3.8
“required-fields”
property“required-fields” GStrv
Represents the D-Bus property "RequiredFields".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Since 3.8
“revision”
property“revision” gchar *
Represents the D-Bus property "Revision".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: NULL
Since 3.8
“supported-fields”
property“supported-fields” GStrv
Represents the D-Bus property "SupportedFields".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Since 3.8
“writable”
property“writable” gboolean
Represents the D-Bus property "Writable".
Since the D-Bus property for this GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
Flags: Read / Write
Default value: FALSE
Since 3.8
“error”
signalvoid user_function (EDBusAddressBook *object, gchar *arg_error_message, gpointer user_data)
On the client-side, this signal is emitted whenever the D-Bus signal "Error" is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name()
to make the object emit the D-Bus signal.
object |
||
arg_error_message |
Argument. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 3.8
“handle-close”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Close()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_close()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
Flags: Run Last
Since 3.8
“handle-create-contacts”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, GStrv arg_vcards, gpointer user_data)
Signal emitted when a remote caller is invoking the CreateContacts()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_create_contacts()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_vcards |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 3.8
“handle-get-contact”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, gchar *arg_uid, gpointer user_data)
Signal emitted when a remote caller is invoking the GetContact()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_get_contact()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_uid |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 3.8
“handle-get-contact-list”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, gchar *arg_query, gpointer user_data)
Signal emitted when a remote caller is invoking the GetContactList()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_get_contact_list()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_query |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 3.8
“handle-get-contact-list-uids”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, gchar *arg_query, gpointer user_data)
Signal emitted when a remote caller is invoking the GetContactListUids()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_get_contact_list_uids()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_query |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 3.8
“handle-get-cursor”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, gchar *arg_query, GStrv arg_sort_keys, GStrv arg_sort_types, gpointer user_data)
Signal emitted when a remote caller is invoking the GetCursor()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_get_cursor()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_query |
Argument passed by remote caller. |
|
arg_sort_keys |
Argument passed by remote caller. |
|
arg_sort_types |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 3.8
“handle-get-view”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, gchar *arg_query, gpointer user_data)
Signal emitted when a remote caller is invoking the GetView()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_get_view()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_query |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 3.8
“handle-modify-contacts”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, GStrv arg_vcards, gpointer user_data)
Signal emitted when a remote caller is invoking the ModifyContacts()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_modify_contacts()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_vcards |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 3.8
“handle-open”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Open()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_open()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
Flags: Run Last
Since 3.8
“handle-refresh”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the Refresh()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_refresh()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
Flags: Run Last
Since 3.8
“handle-remove-contacts”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, GStrv arg_uids, gpointer user_data)
Signal emitted when a remote caller is invoking the RemoveContacts()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_remove_contacts()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
object |
||
invocation |
||
arg_uids |
Argument passed by remote caller. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since 3.8
“handle-retrieve-properties”
signalgboolean user_function (EDBusAddressBook *object, GDBusMethodInvocation *invocation, gpointer user_data)
Signal emitted when a remote caller is invoking the RetrieveProperties()
D-Bus method.
If a signal handler returns TRUE
, it means the signal handler will handle the invocation (e.g. take a reference to invocation
and eventually call e_dbus_address_book_complete_retrieve_properties()
or e.g. g_dbus_method_invocation_return_error()
on it) and no order signal handlers will run. If no signal handler handles the invocation, the G_DBUS_ERROR_UNKNOWN_METHOD
error is returned.
Flags: Run Last
Since 3.8