| 
					
				 | 
			
			
				@@ -24,13 +24,44 @@ interface Source { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     val lang: String 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         get() = "" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * Get the updated details for a manga. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param manga the manga to update. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Suppress("DEPRECATION") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    suspend fun getMangaDetails(manga: SManga): SManga { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return fetchMangaDetails(manga).awaitSingle() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * Get all the available chapters for a manga. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param manga the manga to update. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Suppress("DEPRECATION") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    suspend fun getChapterList(manga: SManga): List<SChapter> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return fetchChapterList(manga).awaitSingle() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * Get the list of pages a chapter has. Pages should be returned 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * in the expected order; the index is ignored. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     * @param chapter the chapter. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Suppress("DEPRECATION") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    suspend fun getPageList(chapter: SChapter): List<Page> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return fetchPageList(chapter).awaitSingle() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * Returns an observable with the updated details for a manga. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param manga the manga to update. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Deprecated( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "Use the 1.x API instead", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "Use the non-RxJava API instead", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ReplaceWith("getMangaDetails"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     fun fetchMangaDetails(manga: SManga): Observable<SManga> = throw IllegalStateException("Not used") 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -41,7 +72,7 @@ interface Source { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param manga the manga to update. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Deprecated( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "Use the 1.x API instead", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "Use the non-RxJava API instead", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ReplaceWith("getChapterList"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     fun fetchChapterList(manga: SManga): Observable<List<SChapter>> = throw IllegalStateException("Not used") 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -53,33 +84,8 @@ interface Source { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * @param chapter the chapter. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Deprecated( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        "Use the 1.x API instead", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        "Use the non-RxJava API instead", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         ReplaceWith("getPageList"), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     fun fetchPageList(chapter: SChapter): Observable<List<Page>> = Observable.empty() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * [1.x API] Get the updated details for a manga. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Suppress("DEPRECATION") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    suspend fun getMangaDetails(manga: SManga): SManga { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return fetchMangaDetails(manga).awaitSingle() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * [1.x API] Get all the available chapters for a manga. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Suppress("DEPRECATION") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    suspend fun getChapterList(manga: SManga): List<SChapter> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return fetchChapterList(manga).awaitSingle() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * [1.x API] Get the list of pages a chapter has. Pages should be returned 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     * in the expected order; the index is ignored. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Suppress("DEPRECATION") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    suspend fun getPageList(chapter: SChapter): List<Page> { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return fetchPageList(chapter).awaitSingle() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |