mirror of
https://github.com/tachiyomiorg/extensions-lib.git
synced 2024-11-24 20:26:55 +01:00
Add runtime defined sources functionality
This commit is contained in:
parent
797094cc1a
commit
5c5d460665
@ -0,0 +1,12 @@
|
|||||||
|
package eu.kanade.tachiyomi.source
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A factory for creating sources at runtime.
|
||||||
|
*/
|
||||||
|
interface SourceFactory {
|
||||||
|
/**
|
||||||
|
* Create a new copy of the sources
|
||||||
|
* @return The created sources
|
||||||
|
*/
|
||||||
|
fun createSources(): List<Source>
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user