Top | ![]() |
![]() |
![]() |
![]() |
ECalComponentAlarmRepeat * e_cal_component_alarm_repeat_new (gint repetitions
,const ICalDuration *interval
);
Creates a new ECalComponentAlarmRepeat describing alarm repetitions.
The returned structure should be freed with e_cal_component_alarm_repeat_free()
,
when no longer needed.
repetitions |
number of extra repetitions, zero for none |
|
interval |
interval between repetitions. |
[not nullable] |
Since: 3.34
ECalComponentAlarmRepeat * e_cal_component_alarm_repeat_new_seconds (gint repetitions
,gint interval_seconds
);
Creates a new ECalComponentAlarmRepeat describing alarm repetitions.
The returned structure should be freed with e_cal_component_alarm_repeat_free()
,
when no longer needed.
repetitions |
number of extra repetitions, zero for none |
|
interval_seconds |
interval between repetitions, in seconds |
Since: 3.34
ECalComponentAlarmRepeat *
e_cal_component_alarm_repeat_copy (const ECalComponentAlarmRepeat *repeat
);
a newly allocated ECalComponentAlarmRepeat, copy of repeat
.
The returned structure should be freed with e_cal_component_alarm_repeat_free()
,
when no longer needed.
[transfer full]
Since: 3.34
void
e_cal_component_alarm_repeat_free (gpointer repeat
);
Free the repeat
, previously allocated by e_cal_component_alarm_repeat_new()
,
e_cal_component_alarm_repeat_new_seconds()
or e_cal_component_alarm_repeat_copy()
.
[skip]
Since: 3.34
gint
e_cal_component_alarm_repeat_get_repetitions
(const ECalComponentAlarmRepeat *repeat
);
Since: 3.34
void e_cal_component_alarm_repeat_set_repetitions (ECalComponentAlarmRepeat *repeat
,gint repetitions
);
Set the repetitions
count of the repeat
.
Since: 3.34
ICalDuration *
e_cal_component_alarm_repeat_get_interval
(const ECalComponentAlarmRepeat *repeat
);
Returns the interval between repetitions of the repeat
, as an ICalDuration
object. This object is owned by repeat
and should not be freed. It's valid until
the repeat
is not freed or its interval changed with either e_cal_component_alarm_repeat_set_interval()
or e_cal_component_alarm_repeat_set_interval_seconds()
.
Since: 3.34
void e_cal_component_alarm_repeat_set_interval (ECalComponentAlarmRepeat *repeat
,const ICalDuration *interval
);
Set the interval
between repetitions of the repeat
.
Since: 3.34
gint
e_cal_component_alarm_repeat_get_interval_seconds
(const ECalComponentAlarmRepeat *repeat
);
Returns the interval between repetitions of the repeat
in seconds.
Since: 3.34
void e_cal_component_alarm_repeat_set_interval_seconds (ECalComponentAlarmRepeat *repeat
,gint interval_seconds
);
Set the interval_seconds
between repetitions of the repeat
.
Since: 3.34