CalClient
Object Hierarchy:
Description:
Contains only private data that should be read and manipulated using the functions below.
Namespace: E
Package: libecalendar-1.2
Content:
Static methods:
- public static Error error_create (CalClientError code, string custom_msg)
- public static Quark error_quark ()
- public static unowned string error_to_string (CalClientError code)
FIXME: Document me.
- public static void free_ecalcomp_slist (SList<CalComponent> ecalcomps)
Frees each element of the
ecalcomps
list and the list itself.
Creation methods:
- public CalClient (Source source, CalClientSourceType source_type) throws Error
Creates a new CalClient corresponding to the given source.
Methods:
- public bool add_timezone_finish (AsyncResult result) throws Error
Finishes previous call of
e_cal_client_add_timezone
. - public bool check_one_alarm_only ()
Checks if a calendar supports only one alarm per component.
- public bool check_organizer_must_accept ()
Checks whether a calendar requires organizer to accept their attendance to meetings.
- public bool check_organizer_must_attend ()
Checks if a calendar forces organizers of meetings to be also attendees.
- public bool check_recurrences_no_master ()
Checks if the calendar has a master object for recurrences.
- public bool check_save_schedules ()
Checks whether the calendar saves schedules.
- public bool create_object_finish (AsyncResult result, out string uid) throws Error
Finishes previous call of
e_cal_client_create_object
and setsuid
to newly assigned UID for the created object. - public bool create_objects_finish (AsyncResult result, out SList<string> uids) throws Error
Finishes previous call of
e_cal_client_create_objects
and setsuids
to newly assigned UIDs for the created objects. - public async bool discard_alarm (string uid, string rid, string auid, Cancellable? cancellable) throws Error
Removes alarm
auid
from a given component identified byuid
andrid
. - public bool discard_alarm_sync (string uid, string rid, string auid, Cancellable? cancellable = null) throws Error
Removes alarm
auid
from a given component identified byuid
andrid
. - public void generate_instances (long start, long end, Cancellable? cancellable, owned CalRecurInstanceFn cb)
Does a combination of get_object_list () and
e_cal_client_recur_generate_instances
s(). - public void generate_instances_sync (long start, long end, CalRecurInstanceFn cb)
Does a combination of get_object_list and
e_cal_client_recur_generate_instances
. - public async bool get_attachment_uris (string uid, string rid, Cancellable? cancellable, out SList<string> attachment_uris) throws Error
Queries a calendar for a specified component's object attachment uris.
- public bool get_attachment_uris_sync (string uid, string rid, out SList<string> attachment_uris, Cancellable? cancellable = null) throws Error
Queries a calendar for a specified component's object attachment URIs.
- public async void get_default_object (Cancellable? cancellable)
Retrives an
icalcomponent
from the backend that contains the default values for properties needed. - public async bool get_free_busy (long start, long end, SList<string> users, Cancellable? cancellable) throws Error
Begins retrieval of free/busy information from the calendar server as a list of CalComponent-s.
- public bool get_free_busy_sync (long start, long end, SList<string> users, Cancellable? cancellable = null) throws Error
Gets free/busy information from the calendar server.
- public unowned string get_local_attachment_store ()
Queries the URL where the calendar attachments are serialized in the local filesystem.
- public async void get_object (string uid, string rid, Cancellable? cancellable)
Queries a calendar for a calendar component object based on its unique identifier.
- public async void get_object_list (string sexp, Cancellable? cancellable)
Gets a list of objects from the calendar that match the query specified by the
sexp
argument, returning matching objects as a list oficalcomponent
-s. - public async bool get_object_list_as_comps (string sexp, Cancellable? cancellable, out SList<CalComponent> ecalcomps) throws Error
Gets a list of objects from the calendar that match the query specified by the
sexp
argument, returning matching objects as a list of CalComponent-s. - public bool get_object_list_as_comps_sync (string sexp, out SList<CalComponent> ecalcomps, Cancellable? cancellable = null) throws Error
Gets a list of objects from the calendar that match the query specified by the
sexp
argument. - public async bool get_objects_for_uid (string uid, Cancellable? cancellable, out SList<CalComponent> ecalcomps) throws Error
Queries a calendar for all calendar components with the given unique ID.
- public bool get_objects_for_uid_sync (string uid, out SList<CalComponent> ecalcomps, Cancellable? cancellable = null) throws Error
Queries a calendar for all calendar components with the given unique ID.
- public CalClientSourceType get_source_type ()
Gets the source type of the calendar client.
- public async void get_timezone (string tzid, Cancellable? cancellable)
Retrieves a timezone object from the calendar backend.
- public async bool get_view (string sexp, Cancellable? cancellable, out CalClientView view) throws Error
Query
client
withsexp
, creating an CalClientView. - public bool get_view_sync (string sexp, out CalClientView view, Cancellable? cancellable = null) throws Error
Query
client
withsexp
, creating an CalClientView. - public bool modify_object_finish (AsyncResult result) throws Error
Finishes previous call of
e_cal_client_modify_object
. - public bool modify_objects_finish (AsyncResult result) throws Error
Finishes previous call of
e_cal_client_modify_objects
. - public bool receive_objects_finish (AsyncResult result) throws Error
Finishes previous call of
e_cal_client_receive_objects
. - public bool remove_object_finish (AsyncResult result) throws Error
Finishes previous call of
e_cal_client_remove_object
. - public bool remove_objects_finish (AsyncResult result) throws Error
Finishes previous call of
e_cal_client_remove_objects
.
Signals:
- public signal void free_busy_data (void* object)
Inherited Members:
All known members inherited from class E.Client
- retrieve_properties_sync
- set_backend_property
- set_backend_property_sync
- set_bus_name
- source
- unwrap_dbus_error
- util_copy_object_slist
- util_copy_string_slist
- util_free_object_slist
- util_free_string_slist
- util_parse_comma_strings
- util_slist_to_strv
- util_strv_to_slist
- util_unwrap_dbus_error
- wait_for_connected
- wait_for_connected_sync
All known members inherited from class GLib.Object