modified: doc/docu.md
parent
7b266086fd
commit
83830fd506
12
doc/docu.md
12
doc/docu.md
|
@ -7,20 +7,22 @@ typedef struct Subject{
|
||||||
char * name;
|
char * name;
|
||||||
time_t * created;
|
time_t * created;
|
||||||
time_t * deadline;
|
time_t * deadline;
|
||||||
|
int priority;
|
||||||
} Subject;
|
} Subject;
|
||||||
|
|
||||||
|
|
||||||
typedef struct Event {
|
typedef struct Event {
|
||||||
Subject *subject;
|
Subject subject;
|
||||||
time_t plannedStartTime;
|
time_t plannedStartTime;
|
||||||
time_t plannedEndTime;
|
time_t plannedEndTime;
|
||||||
int priority;
|
|
||||||
bool done;
|
|
||||||
}Event;
|
}Event;
|
||||||
|
|
||||||
|
//to Ical
|
||||||
typedef struct DayPlan{
|
typedef struct DayPlan{
|
||||||
int availableTime;
|
|
||||||
time_t date;
|
time_t date;
|
||||||
Event * plan;
|
Event ** plan; //arr of event*
|
||||||
|
size_t planLen;//len of plan array
|
||||||
|
size_t planSize;//allocated space fro plan array
|
||||||
}DayPlan;
|
}DayPlan;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue