summaryrefslogtreecommitdiff
path: root/composeApp/src/androidMain/kotlin/coffee/liz/abstractionengine/Platform.android.kt
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-10-23 21:59:37 -0700
committerElizabeth Hunt <me@liz.coffee>2025-10-24 20:00:58 -0700
commit64f825465de9fa30c4dfe2707067efdb96110db8 (patch)
tree5241385e316e2f4ceede5018603103d71be75202 /composeApp/src/androidMain/kotlin/coffee/liz/abstractionengine/Platform.android.kt
downloadabstraction-engine-kt-64f825465de9fa30c4dfe2707067efdb96110db8.tar.gz
abstraction-engine-kt-64f825465de9fa30c4dfe2707067efdb96110db8.zip
Init
Diffstat (limited to 'composeApp/src/androidMain/kotlin/coffee/liz/abstractionengine/Platform.android.kt')
-rw-r--r--composeApp/src/androidMain/kotlin/coffee/liz/abstractionengine/Platform.android.kt9
1 files changed, 9 insertions, 0 deletions
diff --git a/composeApp/src/androidMain/kotlin/coffee/liz/abstractionengine/Platform.android.kt b/composeApp/src/androidMain/kotlin/coffee/liz/abstractionengine/Platform.android.kt
new file mode 100644
index 0000000..3ab6a6a
--- /dev/null
+++ b/composeApp/src/androidMain/kotlin/coffee/liz/abstractionengine/Platform.android.kt
@@ -0,0 +1,9 @@
+package coffee.liz.abstractionengine
+
+import android.os.Build
+
+class AndroidPlatform : Platform {
+ override val name: String = "Android ${Build.VERSION.SDK_INT}"
+}
+
+actual fun getPlatform(): Platform = AndroidPlatform() \ No newline at end of file