mirror of
https://github.com/tachiyomiorg/extensions-lib.git
synced 2024-11-05 19:25:14 +01:00
Merge pull request #1 from null-dev/patch-1
Add runtime defined sources functionality
This commit is contained in:
commit
e8aaa4327f
@ -3,7 +3,7 @@ apply plugin: 'kotlin-android'
|
|||||||
apply plugin: 'com.github.dcendents.android-maven'
|
apply plugin: 'com.github.dcendents.android-maven'
|
||||||
apply plugin: 'com.jfrog.bintray'
|
apply plugin: 'com.jfrog.bintray'
|
||||||
|
|
||||||
version = '1.0'
|
version = '1.1'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 25
|
compileSdkVersion 25
|
||||||
|
@ -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