diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-07 11:55:10 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-07-07 21:35:02 +0200 |
commit | 7fb25a84d427f4a3cb79ea02908daf9ce8ba07ca (patch) | |
tree | cb24b54351955c1d354095023534d8b51d8f9cec /src/calcurse.h | |
parent | 69345edd77b3ff98a99b36de8063f9e5febad3eb (diff) | |
download | calcurse-7fb25a84d427f4a3cb79ea02908daf9ce8ba07ca.zip |
Refactor note removal
Remove the note removal code from *_delete()/*_erase() and create a new
wrapper function called day_item_erase_note() that is be used to drop
the note being associated to an item.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index c9b0307..b0f1477 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -524,7 +524,6 @@ enum item_type { enum eraseflg { ERASE_DONT_FORCE, ERASE_FORCE, - ERASE_FORCE_ONLY_NOTE, ERASE_CUT }; @@ -669,6 +668,7 @@ void custom_config_main(void); void day_free_list(void); char *day_item_get_mesg(struct day_item *); char *day_item_get_note(struct day_item *); +void day_item_erase_note(struct day_item *); long day_item_get_duration(struct day_item *); int day_item_get_state(struct day_item *); void day_item_fork(struct day_item *, struct day_item *); |