aboutsummaryrefslogtreecommitdiffstats
path: root/src/todo.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-12-30 16:27:58 +0000
committerFrederic Culot <calcurse@culot.org>2007-12-30 16:27:58 +0000
commit478b2762e61cee2aa2b073e37cfcdaf220692acf (patch)
treeda7092314c4ad526975642d2e82c22fcf50274c9 /src/todo.h
parent41e7eb0a83f9a6a921ddd54ed89740eaba595354 (diff)
downloadcalcurse-478b2762e61cee2aa2b073e37cfcdaf220692acf.tar.gz
calcurse-478b2762e61cee2aa2b073e37cfcdaf220692acf.zip
Ability to attach notes to todo items added
Diffstat (limited to 'src/todo.h')
-rwxr-xr-xsrc/todo.h13
1 files changed, 8 insertions, 5 deletions
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 */