aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calobj.h
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-04-14 13:24:38 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-04-14 13:24:38 +0800
commit3161696e57f03b5ebc859907725f6836f4220667 (patch)
tree8b1e9f1b509ce5e6343407af8cd7db1d5b8155b8 /calendar/calobj.h
parent49a388705e5085a963c3c1b5cdcd324af5d8b1b5 (diff)
downloadgsoc2013-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/calobj.h')
-rw-r--r--calendar/calobj.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/calendar/calobj.h b/calendar/calobj.h
index 7dc810b459..9287332d40 100644
--- a/calendar/calobj.h
+++ b/calendar/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 */