Move apoint_{cut,paste}() to interaction unit
These functions get the current selection, call day_*_item() and fix the current selection on the appointment panel, so move them where they belong. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -598,8 +598,6 @@ void apoint_hilt_decrease(int);
|
||||
void apoint_hilt_increase(int);
|
||||
int apoint_hilt(void);
|
||||
struct apoint *apoint_new(char *, char *, long, long, char);
|
||||
int apoint_cut(unsigned *, unsigned *);
|
||||
void apoint_paste(unsigned *, unsigned *, int);
|
||||
unsigned apoint_inday(struct apoint *, long *);
|
||||
void apoint_sec2str(struct apoint *, long, char *, char *);
|
||||
void apoint_write(struct apoint *, FILE *);
|
||||
@@ -716,6 +714,8 @@ void interact_day_item_delete(unsigned *, unsigned *);
|
||||
void interact_day_item_edit(void);
|
||||
void interact_day_item_pipe(void);
|
||||
void interact_day_item_repeat(void);
|
||||
int interact_day_item_cut(unsigned *, unsigned *);
|
||||
void interact_day_item_paste(unsigned *, unsigned *, int);
|
||||
void interact_todo_add(void);
|
||||
void interact_todo_delete(void);
|
||||
void interact_todo_edit(void);
|
||||
|
||||
Reference in New Issue
Block a user