From 47d5fe2d45688c376a9646e798ca564e6bb4a6b6 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 27 Jun 2012 08:02:30 +0200 Subject: 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 --- src/calcurse.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index 2986420..59e4f1c 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -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); -- cgit v1.2.3-54-g00ecf