Top | ![]() |
![]() |
![]() |
![]() |
e-cal-component-alarm-instancee-cal-component-alarm-instance — An ECalComponentAlarmInstance structure |
ECalComponentAlarmInstance * e_cal_component_alarm_instance_new (const gchar *uid
,time_t instance_time
,time_t occur_start
,time_t occur_end
);
ECalComponentAlarmInstance *
e_cal_component_alarm_instance_copy (const ECalComponentAlarmInstance *instance
);
Returns a newly allocated copy of instance
, which should be freed with
e_cal_component_alarm_instance_free()
, when no longer needed.
Since: 3.34
void
e_cal_component_alarm_instance_free (gpointer instance
);
Free instance
, previously created by e_cal_component_alarm_instance_new()
or e_cal_component_alarm_instance_copy()
. The function does nothing, if instance
is NULL
.
[skip]
instance |
an ECalComponentAlarmInstance to free. |
[type ECalComponentAlarmInstance][nullable] |
Since: 3.34
const gchar *
e_cal_component_alarm_instance_get_uid
(const ECalComponentAlarmInstance *instance
);
Since: 3.34
void e_cal_component_alarm_instance_set_uid (ECalComponentAlarmInstance *instance
,const gchar *uid
);
Set the alarm UID.
Since: 3.34
time_t
e_cal_component_alarm_instance_get_time
(const ECalComponentAlarmInstance *instance
);
Since: 3.34
void e_cal_component_alarm_instance_set_time (ECalComponentAlarmInstance *instance
,time_t instance_time
);
Set the instance time, i.e. "5 minutes before the appointment".
Since: 3.34
time_t
e_cal_component_alarm_instance_get_occur_start
(const ECalComponentAlarmInstance *instance
);
Since: 3.34
void e_cal_component_alarm_instance_set_occur_start (ECalComponentAlarmInstance *instance
,time_t occur_start
);
Set the actual event occurrence start to which this instance
corresponds.
Since: 3.34
time_t
e_cal_component_alarm_instance_get_occur_end
(const ECalComponentAlarmInstance *instance
);
Since: 3.34
void e_cal_component_alarm_instance_set_occur_end (ECalComponentAlarmInstance *instance
,time_t occur_end
);
Set the actual event occurrence end to which this instance
corresponds.
Since: 3.34