From 1f5c7503af2fdda10da99f9637046a7880e30b0f Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 28 Nov 2024 12:21:47 +0100 Subject: Move files together --- src/main/kotlin/moe/nea/firm/Codec.kt | 5 ----- src/main/kotlin/moe/nea/firm/EnumRenderer.kt | 7 ------- src/main/kotlin/moe/nea/firm/ManagedConfig.kt | 10 +++++++++- 3 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 src/main/kotlin/moe/nea/firm/Codec.kt delete mode 100644 src/main/kotlin/moe/nea/firm/EnumRenderer.kt (limited to 'src/main/kotlin') diff --git a/src/main/kotlin/moe/nea/firm/Codec.kt b/src/main/kotlin/moe/nea/firm/Codec.kt deleted file mode 100644 index 1c19de4..0000000 --- a/src/main/kotlin/moe/nea/firm/Codec.kt +++ /dev/null @@ -1,5 +0,0 @@ -package moe.nea.firm - -interface Codec { - -} diff --git a/src/main/kotlin/moe/nea/firm/EnumRenderer.kt b/src/main/kotlin/moe/nea/firm/EnumRenderer.kt deleted file mode 100644 index 03f5f95..0000000 --- a/src/main/kotlin/moe/nea/firm/EnumRenderer.kt +++ /dev/null @@ -1,7 +0,0 @@ -package moe.nea.firm - -interface EnumRenderer { - companion object { - fun > default() = object: EnumRenderer {} - } -} \ No newline at end of file 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 { + companion object { + fun > default() = object: EnumRenderer {} + } +} + +interface Codec { + +} abstract class ManagedConfig { protected fun choice( -- cgit