From e97cbbe9d7bef12023e2e2b6a92380bcadb9a17e Mon Sep 17 00:00:00 2001 From: Craig Small Date: Tue, 10 Feb 1998 02:07:15 +0000 Subject: added repeat values svn path=/trunk/; revision=9 --- calendar/gui/cal_struct.h | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'calendar/gui/cal_struct.h') diff --git a/calendar/gui/cal_struct.h b/calendar/gui/cal_struct.h index 77420cf9ff..411036c7aa 100644 --- a/calendar/gui/cal_struct.h +++ b/calendar/gui/cal_struct.h @@ -1,14 +1,27 @@ +#define MAX_SZ 30 + +enum RepeatType { + Single, + Days, + Months, + WeekDays, + MonthDays +}; + + struct actionitem { char date[MAX_SZ]; - char time[MAX_SZ]; -} + int time; /* Minutes past midnight */ +}; struct event { struct actionitem start; struct actionitem end; + enum RepeatType repeat; + int repeatcount; char description[MAX_SZ]; char subtype[MAX_SZ]; GList *properties; -} +}; -- cgit