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 { |
7cd006eb NR |
13 | @Meta(description = "The directory where to store temporary files for the GUI reader; any relative path uses the applciation config directory as base, $HOME notation is supported, / is always accepted as directory separator",// |
14 | format = Format.DIRECTORY, def = "tmp-reader/") | |
b4dc6ab5 | 15 | CACHE_DIR_LOCAL_READER, // |
7cd006eb NR |
16 | @Meta(description = "How to save the cached stories for the GUI Reader (non-images documents) -- those files will be sent to the reader",// |
17 | format = Format.COMBO_LIST, list = { "INFO_TEXT", "EPUB", "HTML", "TEXT" }, def = "EPUB") | |
e604986c | 18 | GUI_NON_IMAGES_DOCUMENT_TYPE, // |
7cd006eb NR |
19 | @Meta(description = "How to save the cached stories for the GUI Reader (images documents) -- those files will be sent to the reader",// |
20 | format = Format.COMBO_LIST, list = { "CBZ", "HTML" }, def = "CBZ") | |
e604986c | 21 | GUI_IMAGES_DOCUMENT_TYPE, // |
7cd006eb NR |
22 | @Meta(description = "Use the internal reader for images documents",// |
23 | format = Format.BOOLEAN, def = "true") | |
dd81a122 | 24 | IMAGES_DOCUMENT_USE_INTERNAL_READER, // |
7cd006eb NR |
25 | @Meta(description = "The external viewer for images documents (or empty to use the system default program for the given file type)",// |
26 | format = Format.STRING) | |
edd46289 | 27 | IMAGES_DOCUMENT_READER, // |
7cd006eb NR |
28 | @Meta(description = "Use the internal reader for non-images documents",// |
29 | format = Format.BOOLEAN, def = "true") | |
dd81a122 | 30 | NON_IMAGES_DOCUMENT_USE_INTERNAL_READER, // |
7cd006eb NR |
31 | @Meta(description = "The external viewer for non-images documents (or empty to use the system default program for the given file type)",// |
32 | format = Format.STRING) | |
edd46289 | 33 | NON_IMAGES_DOCUMENT_READER, // |
7cd006eb NR |
34 | @Meta(description = "The background colour of the library if you don't like the default system one",// |
35 | format = Format.COLOR) | |
b4dc6ab5 NR |
36 | BACKGROUND_COLOR, // |
37 | } |