diff options
Diffstat (limited to 'src/entry.h')
-rw-r--r-- | src/entry.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/entry.h b/src/entry.h index 2a9f38b..a2f637e 100644 --- a/src/entry.h +++ b/src/entry.h @@ -1,6 +1,8 @@ #ifndef ENTRY_H #define ENTRY_H +#include <stdbool.h> + #include "../config.h" // a group/category for entries to be put in @@ -10,6 +12,7 @@ typedef struct { char title[BUF_LEN]; char color[BUF_LEN]; // TODO consider making an enum char highlight[BUF_LEN]; // TODO consider making an enum + bool done; char url[BUF_LEN]; } Entry; @@ -18,6 +21,7 @@ char *entry_get_alt_due_date(Entry *e); char *entry_get_title(Entry *e); char *entry_get_color(Entry *e); char *entry_get_highlight(Entry *e); +bool entry_get_done(Entry *e); char *entry_get_url(Entry *e); // setters @@ -25,6 +29,7 @@ void entry_set_alt_due_date(Entry *e, char *alt_due_date); void entry_set_title(Entry *e, char *title); void entry_set_color(Entry *e, char *color); void entry_set_highlight(Entry *e, char *highlight); +void entry_set_done(Entry *e, bool done); void entry_set_url(Entry *e, char *url); #endif |