Ability to attach notes to todo items added
This commit is contained in:
13
src/todo.h
13
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 */
|
||||
|
||||
Reference in New Issue
Block a user