X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Fbundles%2FConfig.java;h=3af83c1d0ff995ecff9140723fd749f8c51449d4;hb=8831d290121e3a77f535ce06d61968a26ccf172a;hp=63e6465a3bdb6f7da95427098982ba6a100f0b29;hpb=c1873e5678fabf306915c54f9c1736e03e027d60;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/bundles/Config.java b/src/be/nikiroo/fanfix/bundles/Config.java deleted file mode 100644 index 63e6465..0000000 --- a/src/be/nikiroo/fanfix/bundles/Config.java +++ /dev/null @@ -1,58 +0,0 @@ -package be.nikiroo.fanfix.bundles; - -import be.nikiroo.utils.resources.Meta; -import be.nikiroo.utils.resources.Meta.Format; - -/** - * The configuration options. - * - * @author niki - */ -@SuppressWarnings("javadoc") -public enum Config { - @Meta(description = "language (example: en-GB, fr-BE...) or nothing for default system language", format = Format.LOCALE, info = "Force the language (can be overwritten again with the env variable $LANG)") - LANG, // - @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(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") - CACHE_MAX_TIME_CHANGING, // - @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 rarely is considered too old and triggers a refresh") - CACHE_MAX_TIME_STABLE, // - @Meta(description = "string", info = "The user-agent to use to download files") - 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 = "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") - DEBUG_ERR, // - @Meta(description = "image format", format = Format.COMBO_LIST, list = { - "PNG", "JPG", "BMP" }, info = "Image format to use for cover images") - IMAGE_FORMAT_COVER, // - @Meta(description = "image format", format = Format.COMBO_LIST, list = { - "PNG", "JPG", "BMP" }, info = "Image format to use for content images") - IMAGE_FORMAT_CONTENT, // - @Meta(group = true) - LATEX_LANG, // - @Meta(description = "LaTeX output language: English", info = "LaTeX full name") - LATEX_LANG_EN, // - @Meta(description = "LaTeX output language: French", info = "LaTeX full name") - LATEX_LANG_FR, // - @Meta(description = "other 'by' prefixes before author name, used to identify the author", array = true) - BYS, // - @Meta(description = "List of languages codes used for chapter identification (should not be changed)", array = true, info = "EN,FR") - CHAPTER, // - @Meta(description = "Chapter identification String: English", info = "used to identify a starting chapter in text mode") - CHAPTER_EN, // - @Meta(description = "Chapter identification String: French", info = "used to identify a starting chapter in text mode") - CHAPTER_FR, // - @Meta(description = "Login information (username) for YiffStar to have access to all the stories (should not be necessary anymore)") - LOGIN_YIFFSTAR_USER, // - @Meta(description = "Login information (password) for YiffStar to have access to all the stories (should not be necessary anymore)", format = Format.PASSWORD) - LOGIN_YIFFSTAR_PASS, // - @Meta(description = "If the last update check was done at least that many days, check for updates at startup (-1 for 'no checks' -- default is 1 day)", format = Format.INT) - UPDATE_INTERVAL, -}