diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-14 13:24:38 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-04-14 13:24:38 +0800 |
commit | 3161696e57f03b5ebc859907725f6836f4220667 (patch) | |
tree | 8b1e9f1b509ce5e6343407af8cd7db1d5b8155b8 /calendar/cal-util/calobj.h | |
parent | 49a388705e5085a963c3c1b5cdcd324af5d8b1b5 (diff) | |
download | gsoc2013-evolution-3161696e57f03b5ebc859907725f6836f4220667.tar.gz gsoc2013-evolution-3161696e57f03b5ebc859907725f6836f4220667.tar.zst gsoc2013-evolution-3161696e57f03b5ebc859907725f6836f4220667.zip |
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
Diffstat (limited to 'calendar/cal-util/calobj.h')
-rw-r--r-- | calendar/cal-util/calobj.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/calendar/cal-util/calobj.h b/calendar/cal-util/calobj.h index 7dc810b459..9287332d40 100644 --- a/calendar/cal-util/calobj.h +++ b/calendar/cal-util/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 */ |