util_generate_alarms_for_list


Description:


public int util_generate_alarms_for_list (List<Component> comps, long start, long end, ComponentAlarmAction omit, out SList<ComponentAlarms> comp_alarms, RecurResolveTimezoneCb resolve_tzid, Timezone default_timezone)

Iterates through all the components in the comps list and generates alarm instances for them; putting them in the comp_alarms list.

Free the comp_alarms with g_slist_free_full (comp_alarms, e_cal_component_alarms_free);, when no longer neeed.

Parameters:

comps

List of Component<!-- -->s

start

Start time

end

End time

omit

Alarm types to omit

comp_alarms

List to be returned

resolve_tzid

Callback for resolving timezones

default_timezone

The timezone used to resolve DATE and floating DATE-TIME values.

user_data

Data to be passed to the resolve_tzid callback

Returns:

the number of elements it added to the list


Namespace: ECal
Package: libecal-2.0



2022 vala-language.org