summaryrefslogtreecommitdiff
path: root/src/vars.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2008-12-28 19:41:45 +0000
committerFrederic Culot <calcurse@culot.org>2008-12-28 19:41:45 +0000
commit8fdd1510c68644184c3df9ba002092a41364b482 (patch)
tree2291528c007f81a639d0bc3fdc045a6efcbeba06 /src/vars.h
parentfe58fe674d5505bb369b6e3864d56989cdcb74f7 (diff)
downloadcalcurse-8fdd1510c68644184c3df9ba002092a41364b482.zip
Automatic periodic saves implemented
Diffstat (limited to 'src/vars.h')
-rwxr-xr-xsrc/vars.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/vars.h b/src/vars.h
index d0a1d3c..b8961cd 100755
--- a/src/vars.h
+++ b/src/vars.h
@@ -1,4 +1,4 @@
-/* $calcurse: vars.h,v 1.27 2008/12/28 13:13:59 culot Exp $ */
+/* $calcurse: vars.h,v 1.28 2008/12/28 19:41:45 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -94,15 +94,16 @@ struct nbar_s
/* General configuration variables */
typedef struct
{
- bool auto_save;
- bool confirm_quit;
- bool confirm_delete;
- bool skip_system_dialogs;
- bool skip_progress_bar;
- char *editor;
- char *pager;
- char output_datefmt[BUFSIZ]; /* format for displaying date */
- int input_datefmt; /* format for reading date */
+ bool auto_save;
+ unsigned periodic_save;
+ bool confirm_quit;
+ bool confirm_delete;
+ bool skip_system_dialogs;
+ bool skip_progress_bar;
+ char *editor;
+ char *pager;
+ char output_datefmt[BUFSIZ]; /* format for displaying date */
+ int input_datefmt; /* format for reading date */
}
conf_t;