From 478b2762e61cee2aa2b073e37cfcdaf220692acf Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Sun, 30 Dec 2007 16:27:58 +0000 Subject: Ability to attach notes to todo items added --- src/todo.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/todo.h') diff --git a/src/todo.h b/src/todo.h index e8d128b..2620ef7 100755 --- a/src/todo.h +++ b/src/todo.h @@ -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 */ -- cgit v1.2.3-54-g00ecf