summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-07-16 20:03:06 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-07-16 20:05:21 +0200
commit46d260a4381f88d4ac8b2dc17179db8beaee5718 (patch)
tree88ff173f79f7bb84545273f315b48a0b14322a3f /src/calcurse.h
parentb36d253dce737a188bff85891fc5b4c4341f6564 (diff)
downloadcalcurse-46d260a4381f88d4ac8b2dc17179db8beaee5718.zip
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 <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h3
1 files changed, 3 insertions, 0 deletions
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);