mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-30 13:51:02 +00:00
backend preference wrapper
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package ani.dantotsu.settings.saving.internal
|
||||
|
||||
import kotlin.reflect.KClass
|
||||
|
||||
|
||||
data class Pref(
|
||||
val prefLocation: Location,
|
||||
val type: KClass<*>
|
||||
)
|
||||
enum class Location(val location: String) {
|
||||
General("ani.dantotsu.general"),
|
||||
Anime("ani.dantotsu.anime"),
|
||||
Manga("ani.dantotsu.manga"),
|
||||
Player("ani.dantotsu.player"),
|
||||
Reader("ani.dantotsu.reader"),
|
||||
Irrelevant("ani.dantotsu.irrelevant"),
|
||||
AnimeDownloads("animeDownloads"), //different for legacy reasons
|
||||
Protected("ani.dantotsu.protected")
|
||||
}
|
||||
Reference in New Issue
Block a user