![]() |
![]() |
![]() |
Evolution API Reference: libedata-cal, the Calendar Backend Library | ![]() |
---|---|---|---|---|
EDataCal* e_data_cal_construct (EDataCal *cal, ECalBackend *backend, GNOME_Evolution_Calendar_CalListener listener); EDataCal* e_data_cal_new (ECalBackend *backend, GNOME_Evolution_Calendar_CalListener listener); ECalBackend* e_data_cal_get_backend (EDataCal *cal); GNOME_Evolution_Calendar_CalListener e_data_cal_get_listener (EDataCal *cal); void e_data_cal_notify_read_only (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, gboolean read_only); void e_data_cal_notify_cal_address (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *address); void e_data_cal_notify_alarm_email_address (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *address); void e_data_cal_notify_ldap_attribute (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *attribute); void e_data_cal_notify_static_capabilities (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *capabilities); void e_data_cal_notify_open (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status); void e_data_cal_notify_remove (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status); void e_data_cal_notify_object_created (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *uid, const char *object); void e_data_cal_notify_object_modified (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *old_object, const char *object); void e_data_cal_notify_object_removed (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const ECalComponentId *id, const char *old_object, const char *object); void e_data_cal_notify_alarm_discarded (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status); void e_data_cal_notify_objects_received (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status); void e_data_cal_notify_objects_sent (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, GList *users, const char *calobj); void e_data_cal_notify_default_object (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *object); void e_data_cal_notify_object (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *object); void e_data_cal_notify_object_list (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, GList *objects); void e_data_cal_notify_query (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, EDataCalView *query); void e_data_cal_notify_timezone_requested (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *object); void e_data_cal_notify_timezone_added (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *tzid); void e_data_cal_notify_default_timezone_set (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status); void e_data_cal_notify_changes (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, GList *adds, GList *modifies, GList *deletes); void e_data_cal_notify_free_busy (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, GList *freebusy); void e_data_cal_notify_mode (EDataCal *cal, GNOME_Evolution_Calendar_CalListener_SetModeStatus status, GNOME_Evolution_Calendar_CalMode mode); void e_data_cal_notify_auth_required (EDataCal *cal); void e_data_cal_notify_error (EDataCal *cal, const char *message); void e_data_cal_notify_attachment_list (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, GSList *objects);
EDataCal* e_data_cal_construct (EDataCal *cal, ECalBackend *backend, GNOME_Evolution_Calendar_CalListener listener);
Constructs a calendar client interface object by binding the corresponding
CORBA object to it. The calendar interface is bound to the specified
backend
, and will notify the listener
about changes to the calendar.
|
A calendar client interface. |
|
Calendar backend that this cal presents an interface to.
|
|
Calendar listener for notification. |
Returns : |
The same object as the cal argument.
|
EDataCal* e_data_cal_new (ECalBackend *backend, GNOME_Evolution_Calendar_CalListener listener);
Creates a new calendar client interface object and binds it to the
specified backend
and listener
objects.
|
A calendar backend. |
|
A calendar listener. |
Returns : |
A newly-created EDataCal calendar client interface
object, or NULL if its corresponding CORBA object could not be
created.
|
ECalBackend* e_data_cal_get_backend (EDataCal *cal);
Gets the associated backend.
|
A calendar client interface. |
Returns : |
An ECalBackend. |
GNOME_Evolution_Calendar_CalListener e_data_cal_get_listener (EDataCal *cal);
Gets the listener associated with a calendar client interface.
|
A calendar client interface. |
Returns : |
The listener. |
void e_data_cal_notify_read_only (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, gboolean read_only);
Notifies listeners of the completion of the is_read_only method call.
|
A calendar client interface. |
|
Status code. |
|
Read only value. |
void e_data_cal_notify_cal_address (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *address);
Notifies listeners of the completion of the get_cal_address method call.
|
A calendar client interface. |
|
Status code. |
|
Calendar address. |
void e_data_cal_notify_alarm_email_address (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *address);
Notifies listeners of the completion of the get_alarm_email_address method call.
|
A calendar client interface. |
|
Status code. |
|
Alarm email address. |
void e_data_cal_notify_ldap_attribute (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *attribute);
Notifies listeners of the completion of the get_ldap_attribute method call.
|
A calendar client interface. |
|
Status code. |
|
void e_data_cal_notify_static_capabilities (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *capabilities);
Notifies listeners of the completion of the get_static_capabilities method call.
|
A calendar client interface. |
|
Status code. |
|
Static capabilities from the backend. |
void e_data_cal_notify_open (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status);
Notifies listeners of the completion of the open method call.
|
A calendar client interface. |
|
Status code. |
void e_data_cal_notify_remove (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status);
Notifies listeners of the completion of the remove method call.
|
A calendar client interface. |
|
Status code. |
void e_data_cal_notify_object_created (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *uid, const char *object);
Notifies listeners of the completion of the create_object method call.
|
A calendar client interface. |
|
Status code. |
|
UID of the object created. |
|
The object created as an iCalendar string. |
void e_data_cal_notify_object_modified (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *old_object, const char *object);
Notifies listeners of the completion of the modify_object method call.
|
A calendar client interface. |
|
Status code. |
|
The old object as an iCalendar string. |
|
The modified object as an iCalendar string. |
void e_data_cal_notify_object_removed (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const ECalComponentId *id, const char *old_object, const char *object);
Notifies listeners of the completion of the remove_object method call.
|
A calendar client interface. |
|
Status code. |
|
|
|
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, GNOME_Evolution_Calendar_CallStatus status);
Notifies listeners of the completion of the discard_alarm method call.
|
A calendar client interface. |
|
Status code. |
void e_data_cal_notify_objects_received (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status);
Notifies listeners of the completion of the receive_objects method call.
|
A calendar client interface. |
|
Status code. |
void e_data_cal_notify_objects_sent (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, GList *users, const char *calobj);
Notifies listeners of the completion of the send_objects method call.
|
A calendar client interface. |
|
Status code. |
|
List of users. |
|
An iCalendar string representing the object sent. |
void e_data_cal_notify_default_object (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *object);
Notifies listeners of the completion of the get_default_object method call.
|
A calendar client interface. |
|
Status code. |
|
The default object as an iCalendar string. |
void e_data_cal_notify_object (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *object);
Notifies listeners of the completion of the get_object method call.
|
A calendar client interface. |
|
Status code. |
|
The object retrieved as an iCalendar string. |
void e_data_cal_notify_object_list (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, GList *objects);
Notifies listeners of the completion of the get_object_list method call.
|
A calendar client interface. |
|
Status code. |
|
List of retrieved objects. |
void e_data_cal_notify_query (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, EDataCalView *query);
Notifies listeners of the completion of the get_query method call.
|
A calendar client interface. |
|
Status code. |
|
The new live query. |
void e_data_cal_notify_timezone_requested (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *object);
Notifies listeners of the completion of the get_timezone method call.
|
A calendar client interface. |
|
Status code. |
|
The requested timezone as an iCalendar string. |
void e_data_cal_notify_timezone_added (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, const char *tzid);
Notifies listeners of the completion of the add_timezone method call.
|
A calendar client interface. |
|
Status code. |
|
ID of the added timezone. |
void e_data_cal_notify_default_timezone_set (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status);
Notifies listeners of the completion of the set_default_timezone method call.
|
A calendar client interface. |
|
Status code. |
void e_data_cal_notify_changes (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, GList *adds, GList *modifies, GList *deletes);
Notifies listeners of the completion of the get_changes method call.
|
A calendar client interface. |
|
Status code. |
|
List of additions. |
|
List of modifications. |
|
List of removals. |
void e_data_cal_notify_free_busy (EDataCal *cal, GNOME_Evolution_Calendar_CallStatus status, GList *freebusy);
Notifies listeners of the completion of the get_free_busy method call.
|
A calendar client interface. |
|
Status code. |
|
List of free/busy objects. |
void e_data_cal_notify_mode (EDataCal *cal, GNOME_Evolution_Calendar_CalListener_SetModeStatus status, GNOME_Evolution_Calendar_CalMode 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 char *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, GNOME_Evolution_Calendar_CallStatus status, GSList *objects);
Notifies listeners of the completion of the get_attachment_list method call.
|
A calendar client interface. |
|
Status code. |
|