![]() |
![]() |
![]() |
Evolution-Data-Server Manual: Private | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Prerequisites | Known Implementations | Properties | Signals |
EDBusAddressBook; gboolean e_dbus_address_book_get_online (EDBusAddressBook *object
); void e_dbus_address_book_set_online (EDBusAddressBook *object
,gboolean value
); const gchar * e_dbus_address_book_get_revision (EDBusAddressBook *object
); gchar * e_dbus_address_book_dup_revision (EDBusAddressBook *object
); void e_dbus_address_book_set_revision (EDBusAddressBook *object
,const gchar *value
); const gchar * e_dbus_address_book_get_locale (EDBusAddressBook *object
); gchar * e_dbus_address_book_dup_locale (EDBusAddressBook *object
); void e_dbus_address_book_set_locale (EDBusAddressBook *object
,const gchar *value
); gboolean e_dbus_address_book_get_writable (EDBusAddressBook *object
); void e_dbus_address_book_set_writable (EDBusAddressBook *object
,gboolean value
); const gchar * e_dbus_address_book_get_cache_dir (EDBusAddressBook *object
); gchar * e_dbus_address_book_dup_cache_dir (EDBusAddressBook *object
); void e_dbus_address_book_set_cache_dir (EDBusAddressBook *object
,const gchar *value
); const gchar *const * e_dbus_address_book_get_capabilities (EDBusAddressBook *object
); gchar ** e_dbus_address_book_dup_capabilities (EDBusAddressBook *object
); void e_dbus_address_book_set_capabilities (EDBusAddressBook *object
,const gchar *const *value
); const gchar *const * e_dbus_address_book_get_required_fields (EDBusAddressBook *object
); gchar ** e_dbus_address_book_dup_required_fields (EDBusAddressBook *object
); void e_dbus_address_book_set_required_fields (EDBusAddressBook *object
,const gchar *const *value
); const gchar *const * e_dbus_address_book_get_supported_fields (EDBusAddressBook *object
); gchar ** e_dbus_address_book_dup_supported_fields (EDBusAddressBook *object
); void e_dbus_address_book_set_supported_fields (EDBusAddressBook *object
,const gchar *const *value
); gboolean e_dbus_address_book_call_open_sync (EDBusAddressBook *proxy
,GCancellable *cancellable
,GError **error
); void e_dbus_address_book_call_open (EDBusAddressBook *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_address_book_call_open_finish (EDBusAddressBook *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_open (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_address_book_call_close_sync (EDBusAddressBook *proxy
,GCancellable *cancellable
,GError **error
); void e_dbus_address_book_call_close (EDBusAddressBook *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_address_book_call_close_finish (EDBusAddressBook *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_close (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_address_book_call_refresh_sync (EDBusAddressBook *proxy
,GCancellable *cancellable
,GError **error
); void e_dbus_address_book_call_refresh (EDBusAddressBook *proxy
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_address_book_call_refresh_finish (EDBusAddressBook *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_refresh (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_address_book_call_create_contacts_sync (EDBusAddressBook *proxy
,const gchar *const *arg_vcards
,gchar ***out_uids
,GCancellable *cancellable
,GError **error
); void e_dbus_address_book_call_create_contacts (EDBusAddressBook *proxy
,const gchar *const *arg_vcards
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_address_book_call_create_contacts_finish (EDBusAddressBook *proxy
,gchar ***out_uids
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_create_contacts (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *const *uids
); gboolean e_dbus_address_book_call_modify_contacts_sync (EDBusAddressBook *proxy
,const gchar *const *arg_vcards
,GCancellable *cancellable
,GError **error
); void e_dbus_address_book_call_modify_contacts (EDBusAddressBook *proxy
,const gchar *const *arg_vcards
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_address_book_call_modify_contacts_finish (EDBusAddressBook *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_modify_contacts (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_address_book_call_remove_contacts_sync (EDBusAddressBook *proxy
,const gchar *const *arg_uids
,GCancellable *cancellable
,GError **error
); void e_dbus_address_book_call_remove_contacts (EDBusAddressBook *proxy
,const gchar *const *arg_uids
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_address_book_call_remove_contacts_finish (EDBusAddressBook *proxy
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_remove_contacts (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
); gboolean e_dbus_address_book_call_get_contact_sync (EDBusAddressBook *proxy
,const gchar *arg_uid
,gchar **out_vcard
,GCancellable *cancellable
,GError **error
); void e_dbus_address_book_call_get_contact (EDBusAddressBook *proxy
,const gchar *arg_uid
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_address_book_call_get_contact_finish (EDBusAddressBook *proxy
,gchar **out_vcard
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_get_contact (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *vcard
); gboolean e_dbus_address_book_call_get_contact_list_sync (EDBusAddressBook *proxy
,const gchar *arg_query
,gchar ***out_vcards
,GCancellable *cancellable
,GError **error
); void e_dbus_address_book_call_get_contact_list (EDBusAddressBook *proxy
,const gchar *arg_query
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_address_book_call_get_contact_list_finish (EDBusAddressBook *proxy
,gchar ***out_vcards
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_get_contact_list (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *const *vcards
); gboolean e_dbus_address_book_call_get_contact_list_uids_sync (EDBusAddressBook *proxy
,const gchar *arg_query
,gchar ***out_uids
,GCancellable *cancellable
,GError **error
); void e_dbus_address_book_call_get_contact_list_uids (EDBusAddressBook *proxy
,const gchar *arg_query
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_address_book_call_get_contact_list_uids_finish (EDBusAddressBook *proxy
,gchar ***out_uids
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_get_contact_list_uids (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *const *uids
); gboolean e_dbus_address_book_call_get_view_sync (EDBusAddressBook *proxy
,const gchar *arg_query
,gchar **out_object_path
,GCancellable *cancellable
,GError **error
); void e_dbus_address_book_call_get_view (EDBusAddressBook *proxy
,const gchar *arg_query
,GCancellable *cancellable
,GAsyncReadyCallback callback
,gpointer user_data
); gboolean e_dbus_address_book_call_get_view_finish (EDBusAddressBook *proxy
,gchar **out_object_path
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_get_view (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *object_path
); 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
); 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
); gboolean e_dbus_address_book_call_get_cursor_finish (EDBusAddressBook *proxy
,gchar **out_object_path
,GAsyncResult *res
,GError **error
); void e_dbus_address_book_complete_get_cursor (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
,const gchar *object_path
); void e_dbus_address_book_emit_error (EDBusAddressBook *object
,const gchar *arg_error_message
); GDBusInterfaceInfo * e_dbus_address_book_interface_info (void
); guint e_dbus_address_book_override_properties (GObjectClass *klass
,guint property_id_begin
); struct EDBusAddressBookProxy; EDBusAddressBook * e_dbus_address_book_proxy_new_sync (GDBusConnection *connection
,GDBusProxyFlags flags
,const gchar *name
,const gchar *object_path
,GCancellable *cancellable
,GError **error
); 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
); EDBusAddressBook * e_dbus_address_book_proxy_new_finish (GAsyncResult *res
,GError **error
); 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
); 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
); EDBusAddressBook * e_dbus_address_book_proxy_new_for_bus_finish (GAsyncResult *res
,GError **error
); struct EDBusAddressBookSkeleton; EDBusAddressBook * e_dbus_address_book_skeleton_new (void
);
GInterface +----EDBusAddressBook
GObject +----GDBusProxy +----EDBusAddressBookProxy
GObject +----GDBusInterfaceSkeleton +----EDBusAddressBookSkeleton
EDBusAddressBookProxy implements GDBusInterface, GInitable, GAsyncInitable and EDBusAddressBook.
EDBusAddressBookSkeleton implements GDBusInterface and EDBusAddressBook.
EDBusAddressBook is implemented by EDBusAddressBookProxy and EDBusAddressBookSkeleton.
"cache-dir" gchar* : Read / Write "capabilities" GStrv : Read / Write "locale" gchar* : Read / Write "online" gboolean : Read / Write "required-fields" GStrv : Read / Write "revision" gchar* : Read / Write "supported-fields" GStrv : Read / Write "writable" gboolean : Read / Write
"error" :Run Last
"handle-close" :Run Last
"handle-create-contacts" :Run Last
"handle-get-contact" :Run Last
"handle-get-contact-list" :Run Last
"handle-get-contact-list-uids" :Run Last
"handle-get-cursor" :Run Last
"handle-get-view" :Run Last
"handle-modify-contacts" :Run Last
"handle-open" :Run Last
"handle-refresh" :Run Last
"handle-remove-contacts" :Run Last
typedef struct _EDBusAddressBook EDBusAddressBook;
Abstract interface type for the D-Bus interface org.gnome.evolution.dataserver.AddressBook.
Since 3.8
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.
|
A EDBusAddressBook. |
Returns : |
The property value. |
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.
|
A EDBusAddressBook. |
|
The value to set. |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
|
The value to set. |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
|
The value to set. |
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.
|
A EDBusAddressBook. |
Returns : |
The property value. |
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.
|
A EDBusAddressBook. |
|
The value to set. |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
|
The value to set. |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
|
The value to set. |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
|
The value to set. |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
Returns : |
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.
|
A EDBusAddressBook. |
|
The value to set. |
Since 3.8
gboolean e_dbus_address_book_call_open_sync (EDBusAddressBook *proxy
,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.
|
A EDBusAddressBookProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
Since 3.8
gboolean e_dbus_address_book_call_open_finish (EDBusAddressBook *proxy
,GAsyncResult *res
,GError **error
);
Finishes an operation started with e_dbus_address_book_call_open()
.
|
A EDBusAddressBookProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_open() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
Since 3.8
void e_dbus_address_book_complete_open (EDBusAddressBook *object
,GDBusMethodInvocation *invocation
);
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
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.
|
A EDBusAddressBookProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A EDBusAddressBookProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_close() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
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.
|
A EDBusAddressBookProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A EDBusAddressBookProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_refresh() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A EDBusAddressBookProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_create_contacts() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
|
Parameter to return. |
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A EDBusAddressBookProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_modify_contacts() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A EDBusAddressBookProxy. |
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_remove_contacts() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A EDBusAddressBookProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_get_contact() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
|
Parameter to return. |
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A EDBusAddressBookProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_get_contact_list() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
|
Parameter to return. |
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A EDBusAddressBookProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_get_contact_list_uids() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
|
Parameter to return. |
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A EDBusAddressBookProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_get_view() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
|
Parameter to return. |
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBookProxy. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
Argument to pass with the method invocation. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied or NULL . |
|
User data to pass to callback . |
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()
.
|
A EDBusAddressBookProxy. |
|
Return location for return parameter or NULL to ignore. [out]
|
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_call_get_cursor() . |
|
Return location for error or NULL . |
Returns : |
TRUE if the call succeded, FALSE if error is set. [skip]
|
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. [transfer full] |
|
Parameter to return. |
Since 3.8
void e_dbus_address_book_emit_error (EDBusAddressBook *object
,const gchar *arg_error_message
);
Emits the "Error" D-Bus signal.
|
A EDBusAddressBook. |
|
Argument to pass with the 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.
Returns : |
A GDBusInterfaceInfo. Do not free. [transfer none] |
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.
|
The class structure for a GObject-derived class. |
|
The property id to assign to the first overridden property. |
Returns : |
The last property id. |
Since 3.8
struct EDBusAddressBookProxy;
The EDBusAddressBookProxy structure contains only private data and should only be accessed using the provided API.
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.
|
A GDBusConnection. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique) or NULL if connection is not a message bus connection. [allow-none]
|
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL
|
Returns : |
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.
|
A GDBusConnection. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique) or NULL if connection is not a message bus connection. [allow-none]
|
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied. |
|
User data to pass to callback . |
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()
.
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_proxy_new() . |
|
Return location for error or NULL
|
Returns : |
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.
|
A GBusType. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique). |
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
Return location for error or NULL
|
Returns : |
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.
|
A GBusType. |
|
Flags from the GDBusProxyFlags enumeration. |
|
A bus name (well-known or unique). |
|
An object path. |
|
A GCancellable or NULL . [allow-none]
|
|
A GAsyncReadyCallback to call when the request is satisfied. |
|
User data to pass to callback . |
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()
.
|
The GAsyncResult obtained from the GAsyncReadyCallback passed to e_dbus_address_book_proxy_new_for_bus() . |
|
Return location for error or NULL
|
Returns : |
The constructed proxy object or NULL if error is set. [transfer full][type EDBusAddressBookProxy]
|
Since 3.8
struct EDBusAddressBookSkeleton;
The EDBusAddressBookSkeleton structure contains only private data and should only be accessed using the provided API.
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.
Returns : |
The skeleton object. [transfer full][type EDBusAddressBookSkeleton] |
Since 3.8
"cache-dir"
property"cache-dir" gchar* : Read / Write
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.
Default value: NULL
Since 3.8
"capabilities"
property"capabilities" GStrv : Read / Write
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.
Since 3.8
"locale"
property"locale" gchar* : Read / Write
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.
Default value: NULL
Since 3.8
"online"
property"online" gboolean : Read / Write
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.
Default value: FALSE
Since 3.8
"required-fields"
property"required-fields" GStrv : Read / Write
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.
Since 3.8
"revision"
property"revision" gchar* : Read / Write
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.
Default value: NULL
Since 3.8
"supported-fields"
property"supported-fields" GStrv : Read / Write
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.
Since 3.8
"writable"
property"writable" gboolean : Read / Write
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.
Default value: FALSE
Since 3.8
"error"
signalvoid user_function (EDBusAddressBook *object,
gchar *arg_error_message,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
Argument. |
|
user data set when the signal handler was connected. |
Since 3.8
"handle-close"
signalgboolean user_function (EDBusAddressBook *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 3.8
"handle-create-contacts"
signalgboolean user_function (EDBusAddressBook *object,
GDBusMethodInvocation *invocation,
GStrv arg_vcards,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 3.8
"handle-get-contact"
signalgboolean user_function (EDBusAddressBook *object,
GDBusMethodInvocation *invocation,
gchar *arg_uid,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 3.8
"handle-get-contact-list"
signalgboolean user_function (EDBusAddressBook *object,
GDBusMethodInvocation *invocation,
gchar *arg_query,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 3.8
"handle-get-contact-list-uids"
signalgboolean user_function (EDBusAddressBook *object,
GDBusMethodInvocation *invocation,
gchar *arg_query,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
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) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 3.8
"handle-get-view"
signalgboolean user_function (EDBusAddressBook *object,
GDBusMethodInvocation *invocation,
gchar *arg_query,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 3.8
"handle-modify-contacts"
signalgboolean user_function (EDBusAddressBook *object,
GDBusMethodInvocation *invocation,
GStrv arg_vcards,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 3.8
"handle-open"
signalgboolean user_function (EDBusAddressBook *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 3.8
"handle-refresh"
signalgboolean user_function (EDBusAddressBook *object,
GDBusMethodInvocation *invocation,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 3.8
"handle-remove-contacts"
signalgboolean user_function (EDBusAddressBook *object,
GDBusMethodInvocation *invocation,
GStrv arg_uids,
gpointer user_data) : Run Last
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.
|
A EDBusAddressBook. |
|
A GDBusMethodInvocation. |
|
Argument passed by remote caller. |
|
user data set when the signal handler was connected. |
Returns : |
TRUE if the invocation was handled, FALSE to let other signal handlers run. |
Since 3.8