diff options
author | Frederic Culot <calcurse@culot.org> | 2008-09-20 12:47:06 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2008-09-20 12:47:06 +0000 |
commit | 96b858b8bcb8ddb9a7938c08d2e9577545e85bfd (patch) | |
tree | 116c0e30a2cba24eccf29727b21547978d754b47 /src/vars.h | |
parent | 62077a18f5ca760dc7798470ca4c457f905c7cd5 (diff) | |
download | calcurse-96b858b8bcb8ddb9a7938c08d2e9577545e85bfd.zip |
More work on ical import. Macros to handle errors and to display messages in both command-line and curses mode added
Diffstat (limited to 'src/vars.h')
-rwxr-xr-x | src/vars.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $calcurse: vars.h,v 1.23 2008/08/06 17:44:34 culot Exp $ */ +/* $calcurse: vars.h,v 1.24 2008/09/20 12:47:06 culot Exp $ */ /* * Calcurse - text-based organizer @@ -65,6 +65,12 @@ #define DATEFMT_DESC(datefmt) (datefmt == 1 ? _("mm/dd/yyyy") : \ (datefmt == 2 ? _("dd/mm/yyyy") : _("yyyy/mm/dd"))) +typedef enum { + UI_CURSES, + UI_CMDLINE, + UI_MODES +} ui_mode_e; + struct pad_s { int width; @@ -102,6 +108,7 @@ conf_t; extern int col, row; extern bool colorize; +extern ui_mode_e ui_mode; extern int days[12]; extern char *monthnames[12]; extern char *daynames[8]; |