X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fbundles%2FConfig.java;h=e3283acbda3b8ec5b29c02f8b3628d0e143dcc8a;hb=e023483b95b36ec0afae4527e6e769ac28bc2fc8;hp=bd27edffc31589abb8346dfa0d59b8428c2da587;hpb=a8209dd0972f751e59153dd80a53f3062042897a;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/bundles/Config.java b/src/be/nikiroo/fanfix/bundles/Config.java index bd27edf..e3283ac 100644 --- a/src/be/nikiroo/fanfix/bundles/Config.java +++ b/src/be/nikiroo/fanfix/bundles/Config.java @@ -15,6 +15,11 @@ public enum Config { @Meta(description = "reader type (CLI = simple output to console, TUI = Text User Interface with menus and windows, GUI = a GUI with locally stored files)", format = Format.FIXED_LIST, list = { "CLI", "GUI", "TUI" }, info = "Select the default reader to use to read stories") READER_TYPE, // + @Meta(format = Format.COMBO_LIST, list = { "INFO_TEXT", "EPUB", "HTML", + "TEXT" }, info = "One of the known output type", description = "The type of output for the Local Reader for non-images documents") + NON_IMAGES_DOCUMENT_TYPE, // + @Meta(format = Format.COMBO_LIST, list = { "CBZ", "HTML" }, description = "The type of output for the Local Reader for images documents") + IMAGES_DOCUMENT_TYPE, // @Meta(description = "absolute path, $HOME variable supported, / is always accepted as dir separator", format = Format.DIRECTORY, info = "The directory where to store temporary files, defaults to directory 'tmp' in the conig directory (usually $HOME/.fanfix)") CACHE_DIR, // @Meta(description = "delay in hours, or 0 for no cache, or -1 for infinite time (default)", format = Format.INT, info = "The delay after which a cached resource that is thought to change ~often is considered too old and triggers a refresh") @@ -25,6 +30,8 @@ public enum Config { USER_AGENT, // @Meta(description = "absolute path, $HOME variable supported, / is always accepted as dir separator", format = Format.DIRECTORY, info = "The directory where to get the default story covers") DEFAULT_COVERS_DIR, // + @Meta(description = "string", info = "The default library to use (KEY:SERVER:PORT), or empty for the local library") + DEFAULT_LIBRARY, // @Meta(description = "absolute path, $HOME variable supported, / is always accepted as dir separator", format = Format.DIRECTORY, info = "The directory where to store the library") LIBRARY_DIR, // @Meta(description = "boolean", format = Format.BOOLEAN, info = "Show debug information on errors")