Compare commits
3 Commits
7b266086fd
...
8f672ff5b0
Author | SHA1 | Date |
---|---|---|
simon | 8f672ff5b0 | |
ketrptr | b4f526f600 | |
ketrptr | 83830fd506 |
3
Makefile
3
Makefile
|
@ -1,5 +1,6 @@
|
||||||
#compiler flags
|
#compiler flags
|
||||||
CFLAGS=-Wall -Wetra -g
|
|
||||||
|
CFLAGS=-Wall -Wextra -g
|
||||||
|
|
||||||
|
|
||||||
#files
|
#files
|
||||||
|
|
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