summaryrefslogtreecommitdiffstats
path: root/src/rccconfig.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-10 08:29:47 +0000
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2005-07-10 08:29:47 +0000
commit6b44784148735f594ac862abcd38c50c5d556df0 (patch)
treebd654c8aa0f80932b3c9b2ee25b23c7e67d6a919 /src/rccconfig.c
parentfdfe5b42f687fbf3d4537541cc1b0bd9b8c2c090 (diff)
downloadlibrcc-6b44784148735f594ac862abcd38c50c5d556df0.tar.gz
librcc-6b44784148735f594ac862abcd38c50c5d556df0.tar.bz2
librcc-6b44784148735f594ac862abcd38c50c5d556df0.tar.xz
librcc-6b44784148735f594ac862abcd38c50c5d556df0.zip
Options
Diffstat (limited to 'src/rccconfig.c')
-rw-r--r--src/rccconfig.c17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/rccconfig.c b/src/rccconfig.c
index d40941f..10ddf3f 100644
--- a/src/rccconfig.c
+++ b/src/rccconfig.c
@@ -117,16 +117,19 @@ rcc_language_name rcc_default_language_names[RCC_MAX_LANGUAGES+1] = {
};
rcc_option_description rcc_default_option_descriptions[] = {
- {RCC_LEARNING_MODE, "LEARNING_MODE", RCC_OPTION_TYPE_BOOLEAN, 0, 0},
+ {RCC_LEARNING_MODE, "LEARNING_MODE", RCC_OPTION_TYPE_MENU, 0, 3},
+ {RCC_AUTODETECT_FS_NAMES, "AUTODETECT_FS_NAMES", RCC_OPTION_TYPE_BOOLEAN, 0, 0},
{RCC_AUTODETECT_FS_TITLES, "AUTODETECT_FS_TITLES", RCC_OPTION_TYPE_BOOLEAN, 0, 0},
- {RCC_AUTODETECT_FS_NAMES, "AUTODETECT_FS_NAMES", RCC_OPTION_TYPE_NAMES;
- {RCC_AUTODETECT_FS_TITLES, "AUTODETECT_FS_TITLES", RCC_OPTION_TYPE_NAMES;
- RCC_CONFIGURED_LANGUAGES_ONLY
+ {RCC_CONFIGURED_LANGUAGES_ONLY, "CONFIGURED_LANGUAGES_ONLY", RCC_OPTION_MENU, 0, 2},
+ {RCC_MAX_OPTIONS, NULL}
+};
+
rcc_option_name rcc_default_option_names[] = {
- { RCC_LEARNING_MODE, "Learning Mode", "LEARNING_MODE" },
- { RCC_AUTODETECT_FS_TITLES, "Autodetect FS Encoding", "AUTODETECT_FS_TITLES" },
- { RCC_AUTODETECT_FS_NAMES, "Autodetect File Names", "AUTODETECT_FS_NAMES" },
+ { RCC_LEARNING_MODE, "Learning Mode", },
+ { RCC_AUTODETECT_FS_NAMES, "Autodetect File Names", NULL},
+ { RCC_AUTODETECT_FS_TITLES, NULL, NULL},
+ { RCC_CONFIGURED_LANGUAGES_ONLY, NULL, NULL},
{ RCC_MAX_OPTIONS, NULL, NULL}
};