| 1 | package be.nikiroo.fanfix.bundles; |
| 2 | |
| 3 | import be.nikiroo.utils.resources.Meta; |
| 4 | import be.nikiroo.utils.resources.Meta.Format; |
| 5 | |
| 6 | /** |
| 7 | * The configuration options. |
| 8 | * |
| 9 | * @author niki |
| 10 | */ |
| 11 | @SuppressWarnings("javadoc") |
| 12 | public enum UiConfig { |
| 13 | @Meta(format = Format.DIRECTORY, info = "absolute path, $HOME variable supported, / is always accepted as dir separator", description = "The directory where to store temporary files, defaults to directory 'tmp.reader' in the conig directory (usually $HOME/.fanfix)") |
| 14 | CACHE_DIR_LOCAL_READER, // |
| 15 | @Meta(format = Format.COMBO_LIST, list = { "INFO_TEXT", "EPUB", "HTML", |
| 16 | "TEXT" }, info = "One of the known output type", description = "The type of output for the GUI Reader for non-images documents") |
| 17 | GUI_NON_IMAGES_DOCUMENT_TYPE, // |
| 18 | @Meta(format = Format.COMBO_LIST, list = { "CBZ", "HTML" }, description = "The type of output for the GUI Reader for images documents") |
| 19 | GUI_IMAGES_DOCUMENT_TYPE, // |
| 20 | @Meta(info = "A command to start", description = "The command launched for images documents -- default to the system default for the current file type") |
| 21 | IMAGES_DOCUMENT_READER, // |
| 22 | @Meta(info = "A command to start", description = "The command launched for non images documents -- default to the system default for the current file type") |
| 23 | NON_IMAGES_DOCUMENT_READER, // |
| 24 | @Meta(format = Format.COLOR, description = "The background colour if you don't want the default system one") |
| 25 | BACKGROUND_COLOR, // |
| 26 | @Meta(format = Format.BOOLEAN, description = "Show one item per source type when in ALL sources mode instead of one per story") |
| 27 | SOURCE_PAGE, // |
| 28 | } |