X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2FBasicLibrary.java;h=63ffdb655bafa658b4bad2dcec37e5671fd4d867;hb=14b574483b51d3859acef6a269f8841b5a4eb5f8;hp=de3dbb64890dd53df4bad285c198693e8f061348;hpb=fa4dcafe32a95f725eb2573e42c7c2990cbeacd1;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/library/BasicLibrary.java b/src/be/nikiroo/fanfix/library/BasicLibrary.java index de3dbb6..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