diff --git a/multiplatform-utils/src/commonMain/kotlin/net/dankito/utils/multiplatform/Month.kt b/multiplatform-utils/src/commonMain/kotlin/net/dankito/utils/multiplatform/Month.kt deleted file mode 100644 index 3ad47091..00000000 --- a/multiplatform-utils/src/commonMain/kotlin/net/dankito/utils/multiplatform/Month.kt +++ /dev/null @@ -1,39 +0,0 @@ -package net.dankito.utils.multiplatform - - -enum class Month(val month: Int) { - - January(1), - - February(2), - - March(3), - - April(4), - - May(5), - - June(6), - - July(7), - - August(8), - - September(9), - - October(10), - - November(11), - - December(12); - - - companion object { - - fun fromInt(monthInt: Int): Month { - return Month.values().first { it.month == monthInt } - } - - } - -} \ No newline at end of file diff --git a/multiplatform-utils/src/commonMain/kotlin/net/dankito/utils/multiplatform/ObjectReference.kt b/multiplatform-utils/src/commonMain/kotlin/net/dankito/utils/multiplatform/ObjectReference.kt deleted file mode 100644 index d0d41352..00000000 --- a/multiplatform-utils/src/commonMain/kotlin/net/dankito/utils/multiplatform/ObjectReference.kt +++ /dev/null @@ -1,21 +0,0 @@ -package net.dankito.utils.multiplatform - - -open class ObjectReference( - value: T?, - open val valueChangedListener: ((T?) -> Unit)? = null -) { - - open var value: T? = value - set(value) { - field = value - - valueChangedListener?.invoke(value) - } - - - override fun toString(): String { - return "$value" - } - -} \ No newline at end of file diff --git a/multiplatform-utils/src/iosMain/kotlin/Freezer/Freezer.kt b/multiplatform-utils/src/iosMain/kotlin/Freezer/Freezer.kt deleted file mode 100644 index a4bc8db6..00000000 --- a/multiplatform-utils/src/iosMain/kotlin/Freezer/Freezer.kt +++ /dev/null @@ -1,8 +0,0 @@ -package Freezer - -import kotlin.native.concurrent.freeze - - -fun freeze(obj: T): T { - return obj.freeze() -} \ No newline at end of file