Method
ECalClientcreate_objects
since: 3.6
Declaration [src]
void
e_cal_client_create_objects (
ECalClient* client,
GSList* icalcomps,
ECalOperationFlags opflags,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer user_data
)
Description [src]
Requests the calendar backend to create the objects specified by the icalcomps
argument. Some backends would assign a specific UID to the newly created object,
but this function does not modify the original icalcomps if their UID changes.
The call is finished by e_cal_client_create_objects_finish() from the callback.
Available since: 3.6
This method completes asynchronously. Use e_cal_client_create_objects_finish() inside the GAsyncReadyCallback to obtain the result of the operation.
Parameters
icalcomps-
Type: A list of
ICalComponent*The components to create.
The data is owned by the caller of the method. opflags-
Type:
ECalOperationFlagsBit-or of
ECalOperationFlags. cancellable-
Type:
GCancellableA
GCancellable; can beNULL.The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackCallback to call when a result is ready.
The argument can be NULL. user_data-
Type:
gpointerUser data for the
callback.The argument can be NULL.The data is owned by the caller of the method.