X-Git-Url: https://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FBasicLibrary.java;h=63ffdb655bafa658b4bad2dcec37e5671fd4d867;hb=874f87f4aa5a4546cb5a3f3f319c50580e366ec0;hp=9ac16ea2a45ba16e058d81f6d950b85e54bc8ea6;hpb=e42573a004fac26378c693ce9ef0d6319713c682;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/library/BasicLibrary.java b/src/be/nikiroo/fanfix/library/BasicLibrary.java index 9ac16ea..63ffdb6 100644 --- a/src/be/nikiroo/fanfix/library/BasicLibrary.java +++ b/src/be/nikiroo/fanfix/library/BasicLibrary.java @@ -52,6 +52,35 @@ abstract public class BasicLibrary { */ public abstract BufferedImage getCover(String luid); + /** + * Return the cover image associated to this source. + *
+ * By default, return the cover of the first story with this source.
+ *
+ * @param source
+ * the source
+ *
+ * @return the cover image or NULL
+ */
+ public BufferedImage getSourceCover(String source) {
+ List