aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firm/ManagedConfig.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/kotlin/moe/nea/firm/ManagedConfig.kt')
-rw-r--r--src/main/kotlin/moe/nea/firm/ManagedConfig.kt10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firm/ManagedConfig.kt b/src/main/kotlin/moe/nea/firm/ManagedConfig.kt
index 741d6aa..0bf0e84 100644
--- a/src/main/kotlin/moe/nea/firm/ManagedConfig.kt
+++ b/src/main/kotlin/moe/nea/firm/ManagedConfig.kt
@@ -1,8 +1,16 @@
package moe.nea.firm
import ext.StringIdentifiable
-import kotlin.enums.enumEntries
+interface EnumRenderer<E: Any> {
+ companion object {
+ fun <E: Enum<E>> default() = object: EnumRenderer<E> {}
+ }
+}
+
+interface Codec<T> {
+
+}
abstract class ManagedConfig {
protected fun <E : Any> choice(