diff options
author | Craig Small <csmall@src.gnome.org> | 1998-02-10 10:07:15 +0800 |
---|---|---|
committer | Craig Small <csmall@src.gnome.org> | 1998-02-10 10:07:15 +0800 |
commit | e97cbbe9d7bef12023e2e2b6a92380bcadb9a17e (patch) | |
tree | 39987a5019bcb662bc768e0696f5d5a4b0565d39 /calendar | |
parent | e362a4d4aeb1830a7c39a17d4cca86c85cf62246 (diff) | |
download | gsoc2013-evolution-e97cbbe9d7bef12023e2e2b6a92380bcadb9a17e.tar gsoc2013-evolution-e97cbbe9d7bef12023e2e2b6a92380bcadb9a17e.tar.gz gsoc2013-evolution-e97cbbe9d7bef12023e2e2b6a92380bcadb9a17e.tar.bz2 gsoc2013-evolution-e97cbbe9d7bef12023e2e2b6a92380bcadb9a17e.tar.lz gsoc2013-evolution-e97cbbe9d7bef12023e2e2b6a92380bcadb9a17e.tar.xz gsoc2013-evolution-e97cbbe9d7bef12023e2e2b6a92380bcadb9a17e.tar.zst gsoc2013-evolution-e97cbbe9d7bef12023e2e2b6a92380bcadb9a17e.zip |
added repeat values
svn path=/trunk/; revision=9
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/cal_struct.h | 19 | ||||
-rw-r--r-- | calendar/gui/cal_struct.h | 19 |
2 files changed, 32 insertions, 6 deletions
diff --git a/calendar/cal_struct.h b/calendar/cal_struct.h index 77420cf9ff..411036c7aa 100644 --- a/calendar/cal_struct.h +++ b/calendar/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; -} +}; 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; -} +}; |