From 46d260a4381f88d4ac8b2dc17179db8beaee5718 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Wed, 16 Jul 2014 20:03:06 +0200 Subject: Warn when reloading with unsaved modifications Since the reload operation overwrites all changes, warn before reloading if there are unsaved modifications. Signed-off-by: Lukas Fleischer --- src/calcurse.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index e87f6b1..ca85690 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -779,6 +779,9 @@ unsigned io_dump_pid(char *); unsigned io_get_pid(char *); int io_file_is_empty(char *); int io_file_cp(const char *, const char *); +void io_unset_modified(void); +void io_set_modified(void); +int io_get_modified(void); /* keys.c */ void keys_init(void); -- cgit v1.2.3