diff options
author | Frederic Culot <calcurse@culot.org> | 2007-12-30 16:27:58 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2007-12-30 16:27:58 +0000 |
commit | 478b2762e61cee2aa2b073e37cfcdaf220692acf (patch) | |
tree | da7092314c4ad526975642d2e82c22fcf50274c9 /src/todo.h | |
parent | 41e7eb0a83f9a6a921ddd54ed89740eaba595354 (diff) | |
download | calcurse-478b2762e61cee2aa2b073e37cfcdaf220692acf.zip |
Ability to attach notes to todo items added
Diffstat (limited to 'src/todo.h')
-rwxr-xr-x | src/todo.h | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: todo.h,v 1.9 2007/08/15 15:35:25 culot Exp $ */ +/* $calcurse: todo.h,v 1.10 2007/12/30 16:27:59 culot Exp $ */ /* * Calcurse - text-based organizer @@ -30,9 +30,10 @@ #include "wins.h" struct todo_s { - struct todo_s *next; - char *mesg; - int id; + struct todo_s *next; + char *mesg; + int id; + char *note; }; extern struct todo_s *todolist; @@ -49,10 +50,12 @@ void todo_first_decrease(void); int todo_hilt_pos(void); char *todo_saved_mesg(void); void todo_new_item(void); -struct todo_s *todo_add(char *, int); +struct todo_s *todo_add(char *, int, char *); void todo_delete(conf_t *); void todo_chg_priority(int); void todo_edit_item(void); void todo_update_panel(window_t *, int); +void todo_edit_note(char *); +void todo_view_note(char *); #endif /* CALCURSE_TODO_H */ |