diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-27 08:02:30 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-30 14:34:36 +0200 |
commit | 47d5fe2d45688c376a9646e798ca564e6bb4a6b6 (patch) | |
tree | c48a55edb3b8d97a88c21f53264a26617a1100f0 /src/calcurse.h | |
parent | 44d3c96828a856b67f87411e4cf8c933677f6d01 (diff) | |
download | calcurse-47d5fe2d45688c376a9646e798ca564e6bb4a6b6.zip |
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>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |