working on ui refresh for books
[fanfix.git] / src / be / nikiroo / fanfix_swing / gui / book / BookInfo.java
index 6859cfab119d9bbecf8b122a8640373b3e6b2b68..72aee900d51893a25b31b8b1bacbc9878a2bd49a 100644 (file)
@@ -186,6 +186,16 @@ public class BookInfo {
 
                return null;
        }
+       
+       /**
+        * This {@link BookInfo} could have a cover (so we need to somehow represent
+        * that to the user).
+        * 
+        * @return TRUE if it does
+        */
+       public boolean supportsCover() {
+               return type != Type.TAG;
+       }
 
        /**
         * Create a new book describing the given {@link Story}.