diff --git a/Flowchart1.drawio b/Flowchart1.drawio deleted file mode 100644 index 5cb3f24..0000000 --- a/Flowchart1.drawio +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Flowchart1.pdf b/Flowchart1.pdf deleted file mode 100644 index ffd44c1..0000000 Binary files a/Flowchart1.pdf and /dev/null differ diff --git a/Untitled Diagram.drawio b/Untitled Diagram.drawio deleted file mode 100644 index ef18948..0000000 --- a/Untitled Diagram.drawio +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/doc/docu.md b/doc/docu.md index ee56ad4..eb107ff 100644 --- a/doc/docu.md +++ b/doc/docu.md @@ -1,18 +1,19 @@ # Data strucures -? +Possible data structure layout + ```C typedef struct Subject{ char * name; time_t * created; time_t * deadline; - int priority; } Subject; typedef struct Event { - Subject * subject; + Subject *subject; time_t plannedStartTime; time_t plannedEndTime; + int priority; bool done; }Event; @@ -22,3 +23,11 @@ typedef struct DayPlan{ Event * plan; }DayPlan; ``` + +## Functionality + +Day plan can either be crated from user input or read from file to continue previous day. + +priority and available time are used to create dayplan which is exported as iCal + +after task is completed and priorities are updated for next day and stored in file.