From 4e5b1da82e7ada3667bfa47471defd5932afc405 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 2 Aug 2000 01:08:52 +0000 Subject: Use CalComponent and the new property types instead of the old iCalObject 2000-07-31 Federico Mena Quintero * cal-util/cal-recur.c (*): Use CalComponent and the new property types instead of the old iCalObject stuff. (cal_recur_generate_instances): Renamed from cal_object_generate_events(). Ensure that the component has the DTSTART property. (generate_instances_for_year): Renamed from cal_object_generate_events_for_year(). (cal_obj_expand_recurrence): Made static. (cal_recur_from_icalrecurrencetype): New function. We should really convert this whole file to use struct icalrecurrencetype instead. (cal_recur_free): New function. * cal-util/cal-recur.h (CalRecurType): Renamed from CalObjRecurType. (CalRecurrence): Renamed from CalObjRecurrence. * cal-util/timeutil.c (time_from_icaltimetype): New function. * cal-util/Makefile.am: Commented out the test-recur program. svn path=/trunk/; revision=4464 --- calendar/cal-util/timeutil.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'calendar/cal-util/timeutil.h') diff --git a/calendar/cal-util/timeutil.h b/calendar/cal-util/timeutil.h index 407213d7f8..37b70ee6cf 100644 --- a/calendar/cal-util/timeutil.h +++ b/calendar/cal-util/timeutil.h @@ -11,8 +11,10 @@ #include +#include +time_t time_from_icaltimetype (struct icaltimetype itt); time_t time_from_isodate (char *str); time_t time_from_start_duration (time_t start, char *duration); char *isodate_from_time_t (time_t t); @@ -73,7 +75,6 @@ time_t time_week_end (time_t t); time_t time_day_begin (time_t t); time_t time_day_end (time_t t); - time_t parse_date (char *str); void print_time_t (time_t t); -- cgit v1.2.3