Method
ECalClientgenerate_instances_for_object
since: 3.2
Declaration [src]
void
e_cal_client_generate_instances_for_object (
ECalClient* client,
ICalComponent* icalcomp,
time_t start,
time_t end,
GCancellable* cancellable,
ECalRecurInstanceCb cb,
gpointer cb_data,
GDestroyNotify destroy_cb_data
)
Description [src]
Does a combination of e_cal_client_get_object_list() and
e_cal_recur_generate_instances_sync(), like
e_cal_client_generate_instances(), but for a single object. Unlike
e_cal_client_generate_instances_for_object_sync(), this returns immediately
and the cb callback is called asynchronously.
The callback function should do a g_object_ref() of the calendar component
it gets passed if it intends to keep it around, since it will be unref’ed
as soon as the callback returns.
Available since: 3.2
Parameters
icalcomp-
Type:
NoneObject to generate instances from.
The data is owned by the caller of the method. start-
Type:
time_tStart time for query.
end-
Type:
time_tEnd time for query.
cancellable-
Type:
GCancellableA
GCancellable; can beNULL.The argument can be NULL.The data is owned by the caller of the method. cb-
Type:
ECalRecurInstanceCbCallback for each generated instance.
cb_data-
Type:
gpointerClosure data for the callback.
The argument can be NULL.The data is owned by the caller of the method. destroy_cb_data-
Type:
GDestroyNotifyFunction to call when the processing is done, to free
cb_data; can beNULL.