aboutsummaryrefslogblamecommitdiffstats
path: root/calendar/cal_struct.h
blob: 411036c7aa41dbf85803ad92c1fe36cfe922c081 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                  

                             

                                                  




                                

                               


                                    
  
 
#define MAX_SZ 30

enum RepeatType {
    Single,
    Days,
    Months,
    WeekDays,
    MonthDays 
};


struct actionitem {
    char    date[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;
};