diff options
author | kraxel <kraxel> | 2004-03-28 11:31:57 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2004-03-28 11:31:57 +0000 |
commit | e9e9684117719204929821028ba9dbb7915ea119 (patch) | |
tree | 6dd2d71940b33a9f960945335e9124ef4fea9fe7 /idaconfig.h | |
download | fbida-e9e9684117719204929821028ba9dbb7915ea119.tar.gz |
Initial revision
Diffstat (limited to 'idaconfig.h')
-rw-r--r-- | idaconfig.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/idaconfig.h b/idaconfig.h new file mode 100644 index 0000000..8d616ef --- /dev/null +++ b/idaconfig.h @@ -0,0 +1,24 @@ +#include "parseconfig.h" + +#define O_OPTIONS "config", "options" +#define O_BOOKMARKS "config", "bookmarks" + +#define O_AUTOZOOM O_OPTIONS, "autozoom" +#define O_PHOTOCD_RES O_OPTIONS, "photocd_res" +#define O_SANE_RES O_OPTIONS, "sane_res" +#define O_ICON_SMALL O_OPTIONS, "icon_small" +#define O_ICON_LARGE O_OPTIONS, "icon_large" + +#define GET_AUTOZOOM() cfg_get_bool(O_AUTOZOOM, 1) +#define GET_PHOTOCD_RES() cfg_get_int(O_PHOTOCD_RES, 3) +#define GET_SANE_RES() cfg_get_int(O_SANE_RES, 300) +#define GET_ICON_SMALL() cfg_get_int(O_ICON_SMALL, 32) +#define GET_ICON_LARGE() cfg_get_int(O_ICON_LARGE, 96) + +/* -------------------------------------------------------------------------- */ + +char *ida_lists; + +void ida_init_config(void); +void ida_read_config(void); +void ida_write_config(void); |