From 3161696e57f03b5ebc859907725f6836f4220667 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Tue, 14 Apr 1998 05:24:38 +0000 Subject: Load recurrence rules; Paint the recurrence screen according to the rules. Load recurrence rules; Paint the recurrence screen according to the rules. -miguel svn path=/trunk/; revision=133 --- calendar/calobj.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'calendar/calobj.h') diff --git a/calendar/calobj.h b/calendar/calobj.h index 7dc810b459..9287332d40 100644 --- a/calendar/calobj.h +++ b/calendar/calobj.h @@ -79,10 +79,21 @@ enum RecurType { RECUR_YEARLY_BY_DAY, }; +#define DAY_LASTDAY 10000 + typedef struct { enum RecurType type; - int frequency; + int interval; + time_t enddate; + int weekday; + + union { + int month_pos; + int month_day; + } u; + + int temp_duration; /* Used temporarly, we compute enddate */ } Recurrence; /* Flags to indicate what has changed in an object */ -- cgit