Commit | Line | Data |
---|---|---|
b4dc6ab5 NR |
1 | package be.nikiroo.fanfix.bundles; |
2 | ||
3 | import be.nikiroo.utils.resources.Meta; | |
ce788468 | 4 | import be.nikiroo.utils.resources.Meta.Format; |
b4dc6ab5 NR |
5 | |
6 | /** | |
7 | * The configuration options. | |
8 | * | |
9 | * @author niki | |
10 | */ | |
ce788468 | 11 | @SuppressWarnings("javadoc") |
b4dc6ab5 | 12 | public enum UiConfig { |
ae78e517 | 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 config directory (usually $HOME/.fanfix)") |
b4dc6ab5 | 14 | CACHE_DIR_LOCAL_READER, // |
e604986c NR |
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, // | |
ce788468 | 20 | @Meta(info = "A command to start", description = "The command launched for images documents -- default to the system default for the current file type") |
edd46289 | 21 | IMAGES_DOCUMENT_READER, // |
ce788468 | 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") |
edd46289 | 23 | NON_IMAGES_DOCUMENT_READER, // |
ce788468 | 24 | @Meta(format = Format.COLOR, description = "The background colour if you don't want the default system one") |
b4dc6ab5 | 25 | BACKGROUND_COLOR, // |
14b57448 NR |
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, // | |
b4dc6ab5 | 28 | } |