aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorCraig Small <csmall@src.gnome.org>1998-02-10 10:07:15 +0800
committerCraig Small <csmall@src.gnome.org>1998-02-10 10:07:15 +0800
commite97cbbe9d7bef12023e2e2b6a92380bcadb9a17e (patch)
tree39987a5019bcb662bc768e0696f5d5a4b0565d39 /calendar/gui
parente362a4d4aeb1830a7c39a17d4cca86c85cf62246 (diff)
downloadgsoc2013-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/gui')
-rw-r--r--calendar/gui/cal_struct.h19
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;
-}
+};