Revert inclusion of getPageList

v0.14.6 didn't fully remove calls to fetchPageList yet.
This commit is contained in:
arkon 2023-09-08 22:38:13 -04:00
parent 30a6effc50
commit 8240b5cfec

View File

@ -43,11 +43,10 @@ interface Source {
* Get the list of pages a chapter has. Pages should be returned * Get the list of pages a chapter has. Pages should be returned
* in the expected order; the index is ignored. * in the expected order; the index is ignored.
* *
* @since extensions-lib 1.4
* @param chapter the chapter. * @param chapter the chapter.
* @return the pages for the chapter. * @return the pages for the chapter.
*/ */
suspend fun getPageList(chapter: SChapter): List<Page> = throw Exception("Stub!") fun fetchPageList(chapter: SChapter): Observable<List<Page>>
@Deprecated( @Deprecated(
"Use the non-RxJava API instead", "Use the non-RxJava API instead",
@ -60,10 +59,4 @@ interface Source {
ReplaceWith("getChapterList"), ReplaceWith("getChapterList"),
) )
fun fetchChapterList(manga: SManga): Observable<List<SChapter>> = throw Exception("Stub!") fun fetchChapterList(manga: SManga): Observable<List<SChapter>> = throw Exception("Stub!")
@Deprecated(
"Use the non-RxJava API instead",
ReplaceWith("getPageList"),
)
fun fetchPageList(chapter: SChapter): Observable<List<Page>> = throw Exception("Stub!")
} }