modified: Makefile
modified: README.md new file: debugOut modified: doc/docu.md new file: doc/overview.drawio new file: doc/overview.png modified: src/config.h modified: src/db.c modified: src/db.h modified: src/iCal.c modified: src/planner.c modified: src/planner.h new file: src/test.c modified: src/ui.c Changes not staged for commit: deleted: debugOut
This commit is contained in:
1 parent
550a452249
commit
b502e8040c
14 files changed
+231
-44
No files matched your search
+29
@@ -0,0 +1,29 @@
|
||||
#include "config.h"
|
||||
#include "db.h"
|
||||
#include "iCal.h"
|
||||
#include "planner.h" // for subject and event structs
|
||||
#include "ui.h"
|
||||
#include <stdio.h>
|
||||
|
||||
int main() {
|
||||
|
||||
time_t now = time(NULL);
|
||||
|
||||
Subject t1 = {.name = "LinAlg",
|
||||
.created = now,
|
||||
.deadline = now + days(5),
|
||||
.priority = 3};
|
||||
|
||||
Subject t2 = {
|
||||
.name = "Phys", .created = now, .deadline = now + days(2), .priority = 7};
|
||||
|
||||
// create plan
|
||||
// planner([t1,t2])
|
||||
//
|
||||
printf("%s\n", ctime(&now));
|
||||
|
||||
serialize(&t1);
|
||||
serialize(&t2);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user