diff options
Diffstat (limited to 'calendar/gui/cal_struct.h')
-rw-r--r-- | calendar/gui/cal_struct.h | 19 |
1 files changed, 16 insertions, 3 deletions
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; -} +}; |