![]() |
![]() |
![]() |
Evolution-Data-Server Manual: Calendar Backend (libedata-cal) | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy |
#define E_DATA_CAL_ERROR EDataCal; GError * e_data_cal_create_error (EDataCalCallStatus status, const gchar *custom_msg); GError * e_data_cal_create_error_fmt (EDataCalCallStatus status, const gchar *custom_msg_fmt, ...); const gchar * e_data_cal_status_to_string (EDataCalCallStatus status); #define e_return_data_cal_error_if_fail (expr, _code) EDataCal * e_data_cal_new (ECalBackend *backend, ESource *source); guint e_data_cal_register_gdbus_object (EDataCal *cal, GDBusConnection *connection, const gchar *object_path, GError **error); ECalBackend * e_data_cal_get_backend (EDataCal *cal); ESource* e_data_cal_get_source (EDataCal *cal); void e_data_cal_notify_read_only (EDataCal *cal, GError *error, gboolean read_only); void e_data_cal_notify_cal_address (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *address); void e_data_cal_notify_alarm_email_address (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *address); void e_data_cal_notify_ldap_attribute (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *attribute); void e_data_cal_notify_static_capabilities (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *capabilities); void e_data_cal_notify_open (EDataCal *cal, EServerMethodContext context, GError *error); void e_data_cal_notify_refresh (EDataCal *cal, EServerMethodContext context, GError *error); void e_data_cal_notify_remove (EDataCal *cal, EServerMethodContext context, GError *error); void e_data_cal_notify_object_created (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *uid, const gchar *object); void e_data_cal_notify_object_modified (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *old_object, const gchar *object); void e_data_cal_notify_object_removed (EDataCal *cal, EServerMethodContext context, GError *error, const ECalComponentId *id, const gchar *old_object, const gchar *object); void e_data_cal_notify_alarm_discarded (EDataCal *cal, EServerMethodContext context, GError *error); void e_data_cal_notify_objects_received (EDataCal *cal, EServerMethodContext context, GError *error); void e_data_cal_notify_objects_sent (EDataCal *cal, EServerMethodContext context, GError *error, GList *users, const gchar *calobj); void e_data_cal_notify_default_object (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *object); void e_data_cal_notify_object (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *object); void e_data_cal_notify_object_list (EDataCal *cal, EServerMethodContext context, GError *error, GList *objects); void e_data_cal_notify_query (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *query_path); void e_data_cal_notify_timezone_requested (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *object); void e_data_cal_notify_timezone_added (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *tzid); void e_data_cal_notify_default_timezone_set (EDataCal *cal, EServerMethodContext context, GError *error); void e_data_cal_notify_changes (EDataCal *cal, EServerMethodContext context, GError *error, GList *adds, GList *modifies, GList *deletes); void e_data_cal_notify_free_busy (EDataCal *cal, EServerMethodContext context, GError *error, GList *freebusy); void e_data_cal_notify_mode (EDataCal *cal, EDataCalViewListenerSetModeStatus status, EDataCalMode mode); void e_data_cal_notify_auth_required (EDataCal *cal); void e_data_cal_notify_error (EDataCal *cal, const gchar *message); void e_data_cal_notify_attachment_list (EDataCal *cal, EServerMethodContext context, GError *error, GSList *objects);
GError * e_data_cal_create_error (EDataCalCallStatus status, const gchar *custom_msg);
|
|
|
|
Returns : |
Since 2.32
GError * e_data_cal_create_error_fmt (EDataCalCallStatus status, const gchar *custom_msg_fmt, ...);
|
|
|
|
|
|
Returns : |
Since 2.32
const gchar * e_data_cal_status_to_string (EDataCalCallStatus status);
|
|
Returns : |
Since 2.32
#define e_return_data_cal_error_if_fail(expr, _code)
|
|
|
Since 2.32
EDataCal * e_data_cal_new (ECalBackend *backend, ESource *source);
|
|
|
|
Returns : |
guint e_data_cal_register_gdbus_object (EDataCal *cal, GDBusConnection *connection, const gchar *object_path, GError **error);
Registers GDBus object of this EDataCal.
|
|
|
|
|
|
|
|
Returns : |
Since 2.32
ESource* e_data_cal_get_source (EDataCal *cal);
Returns the ESource for cal
.
|
an EDataCal |
Returns : |
the ESource for cal
|
Since 2.30
void e_data_cal_notify_read_only (EDataCal *cal, GError *error, gboolean read_only);
Notifies listeners of the completion of the is_read_only method call.
|
A calendar client interface. |
|
Operation error, if any, automatically freed if passed it. |
|
Read only value. |
void e_data_cal_notify_cal_address (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *address);
Notifies listeners of the completion of the get_cal_address method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
Calendar address. |
void e_data_cal_notify_alarm_email_address (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *address);
Notifies listeners of the completion of the get_alarm_email_address method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
Alarm email address. |
void e_data_cal_notify_ldap_attribute (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *attribute);
Notifies listeners of the completion of the get_ldap_attribute method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
void e_data_cal_notify_static_capabilities (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *capabilities);
Notifies listeners of the completion of the get_static_capabilities method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
Static capabilities from the backend. |
void e_data_cal_notify_open (EDataCal *cal, EServerMethodContext context, GError *error);
Notifies listeners of the completion of the open method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
void e_data_cal_notify_refresh (EDataCal *cal, EServerMethodContext context, GError *error);
Notifies listeners of the completion of the refresh method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
Since 2.30
void e_data_cal_notify_remove (EDataCal *cal, EServerMethodContext context, GError *error);
Notifies listeners of the completion of the remove method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
void e_data_cal_notify_object_created (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *uid, const gchar *object);
Notifies listeners of the completion of the create_object method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
UID of the object created. |
|
The object created as an iCalendar string. |
void e_data_cal_notify_object_modified (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *old_object, const gchar *object);
Notifies listeners of the completion of the modify_object method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
The old object as an iCalendar string. |
|
The modified object as an iCalendar string. |
void e_data_cal_notify_object_removed (EDataCal *cal, EServerMethodContext context, GError *error, const ECalComponentId *id, const gchar *old_object, const gchar *object);
Notifies listeners of the completion of the remove_object method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
|
|
The old object as an iCalendar string. |
|
The new object as an iCalendar string. This will not be NULL only when removing instances of a recurring appointment. |
void e_data_cal_notify_alarm_discarded (EDataCal *cal, EServerMethodContext context, GError *error);
Notifies listeners of the completion of the discard_alarm method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
void e_data_cal_notify_objects_received (EDataCal *cal, EServerMethodContext context, GError *error);
Notifies listeners of the completion of the receive_objects method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
void e_data_cal_notify_objects_sent (EDataCal *cal, EServerMethodContext context, GError *error, GList *users, const gchar *calobj);
Notifies listeners of the completion of the send_objects method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
List of users. |
|
An iCalendar string representing the object sent. |
void e_data_cal_notify_default_object (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *object);
Notifies listeners of the completion of the get_default_object method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
The default object as an iCalendar string. |
void e_data_cal_notify_object (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *object);
Notifies listeners of the completion of the get_object method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
The object retrieved as an iCalendar string. |
void e_data_cal_notify_object_list (EDataCal *cal, EServerMethodContext context, GError *error, GList *objects);
Notifies listeners of the completion of the get_object_list method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
List of retrieved objects. |
void e_data_cal_notify_query (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *query_path);
|
|
|
|
|
|
|
void e_data_cal_notify_timezone_requested (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *object);
Notifies listeners of the completion of the get_timezone method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
The requested timezone as an iCalendar string. |
void e_data_cal_notify_timezone_added (EDataCal *cal, EServerMethodContext context, GError *error, const gchar *tzid);
Notifies listeners of the completion of the add_timezone method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
ID of the added timezone. |
void e_data_cal_notify_default_timezone_set (EDataCal *cal, EServerMethodContext context, GError *error);
Notifies listeners of the completion of the set_default_timezone method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
void e_data_cal_notify_changes (EDataCal *cal, EServerMethodContext context, GError *error, GList *adds, GList *modifies, GList *deletes);
Notifies listeners of the completion of the get_changes method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
List of additions. |
|
List of modifications. |
|
List of removals. |
void e_data_cal_notify_free_busy (EDataCal *cal, EServerMethodContext context, GError *error, GList *freebusy);
Notifies listeners of the completion of the get_free_busy method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|
List of free/busy objects. |
void e_data_cal_notify_mode (EDataCal *cal, EDataCalViewListenerSetModeStatus status, EDataCalMode mode);
Notifies the listener of the results of a set_mode call.
|
A calendar client interface. |
|
Status of the mode set. |
|
The current mode. |
void e_data_cal_notify_auth_required (EDataCal *cal);
Notifies listeners that authorization is required to open the calendar.
|
A calendar client interface. |
void e_data_cal_notify_error (EDataCal *cal, const gchar *message);
Notify a calendar client of an error occurred in the backend.
|
A calendar client interface. |
|
Error message. |
void e_data_cal_notify_attachment_list (EDataCal *cal, EServerMethodContext context, GError *error, GSList *objects);
Notifies listeners of the completion of the get_attachment_list method call.+ */ void e_data_cal_notify_attachment_list (EDataCal *cal, EServerMethodContext context, GError *error, GSList *attachments) { GDBusMethodInvocation *invocation = context; gchar **seq;
seq = create_str_array_from_gslist (attachments);
if (error) {
/* Translators: The 's
' is replaced with a detailed error message */
data_cal_return_error (invocation, error, _("Could not retrieve attachment list: s
"));
g_error_free (error);
} else
e_gdbus_cal_complete_get_attachment_list (cal->priv->gdbus_object, invocation, (const gchar * const *) seq);
g_free (seq); }
/**
e_data_cal_notify_query:
cal
: A calendar client interface.
error
: Operation error, if any, automatically freed if passed it.
query
: The new live query.
Notifies listeners of the completion of the get_query method call.
|
A calendar client interface. |
|
|
|
Operation error, if any, automatically freed if passed it. |
|