diff --git a/app/src/main/java/io/legado/app/help/BookHelp.kt b/app/src/main/java/io/legado/app/help/BookHelp.kt index db0b27222..fa42f9cfe 100644 --- a/app/src/main/java/io/legado/app/help/BookHelp.kt +++ b/app/src/main/java/io/legado/app/help/BookHelp.kt @@ -1,7 +1,26 @@ package io.legado.app.help +import io.legado.app.data.entities.Book +import io.legado.app.data.entities.BookChapter + object BookHelp { + fun saveContent(book: Book, bookChapter: BookChapter, content: String) { + + } + + fun hasContent(book: Book, bookChapter: BookChapter): Boolean { + + + return false + } + + fun getContent(book: Book, bookChapter: BookChapter): String? { + + + return null + } + fun formatAuthor(author: String?): String { return author ?.replace("作\\s*者[\\s::]*".toRegex(), "")