diff options
author | Moses Palmér <mosespalmer@gmail.com> | 2016-05-07 15:58:28 +0200 |
---|---|---|
committer | Moses Palmér <mosespalmer@gmail.com> | 2016-05-07 15:59:46 +0200 |
commit | cadef4f05202df2c360773779a5f5b5d6d993df9 (patch) | |
tree | 636d19981c5ccde9022ab9973182a6fb4022028c /fbiconfig.h | |
parent | 66e54b48ebd46b10321c2d908688e338d8ccf82d (diff) | |
download | fbida-cadef4f05202df2c360773779a5f5b5d6d993df9.tar.gz |
fbi: add --(no)interactive command line flag
Diffstat (limited to 'fbiconfig.h')
-rw-r--r-- | fbiconfig.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fbiconfig.h b/fbiconfig.h index e98a246..a2178a3 100644 --- a/fbiconfig.h +++ b/fbiconfig.h @@ -30,6 +30,7 @@ #define O_SCROLL O_OPTIONS, "scroll" #define O_TIMEOUT O_OPTIONS, "timeout" #define O_PCD_RES O_OPTIONS, "photocd-res" +#define O_INTERACTIVE O_OPTIONS, "interactive" #define O_DEVICE O_OPTIONS, "device" #define O_OUTPUT O_OPTIONS, "output" @@ -64,6 +65,7 @@ #define GET_SCROLL() cfg_get_int(O_SCROLL, 50) #define GET_TIMEOUT() cfg_get_int(O_TIMEOUT, 0) #define GET_PCD_RES() cfg_get_int(O_PCD_RES, 3) +#define GET_INTERACTIVE() cfg_get_bool(O_INTERACTIVE, 1) #define GET_OPENGL() cfg_get_bool(O_OPENGL, 0) #define GET_PAGEFLIP() cfg_get_bool(O_PAGEFLIP, 1) |