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
);
Creates a new ECalComponentAlarmInstance structure, filled with the given values.
Free the instance with e_cal_component_alarm_instance_free()
, when no longer needed.
uid |
UID of the alarm. |
[not nullable] |
instance_time |
instance time, i.e. "5 minutes before the appointment" |
|
occur_start |
actual event occurrence start to which this instance corresponds |
|
occur_end |
actual event occurrence end to which this instance corresponds |
Since: 3.34
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
const gchar *
e_cal_component_alarm_instance_get_rid
(const ECalComponentAlarmInstance *instance
);
Since: 3.40
void e_cal_component_alarm_instance_set_rid (ECalComponentAlarmInstance *instance
,const gchar *rid
);
Set the Recurrence ID of the component this instance
was generated for.
Since: 3.40
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