refactor: delete some starter app stuff
This commit is contained in:
parent
0d84411f14
commit
f606eb2e33
5 changed files with 2 additions and 39 deletions
|
|
@ -1,9 +0,0 @@
|
|||
package moe.lava.neon.core
|
||||
|
||||
import android.os.Build
|
||||
|
||||
class AndroidPlatform : Platform {
|
||||
override val name: String = "Android ${Build.VERSION.SDK_INT}"
|
||||
}
|
||||
|
||||
actual fun getPlatform(): Platform = AndroidPlatform()
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
package moe.lava.neon.core
|
||||
|
||||
interface Platform {
|
||||
val name: String
|
||||
}
|
||||
|
||||
expect fun getPlatform(): Platform
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
package moe.lava.neon.core
|
||||
|
||||
class JVMPlatform : Platform {
|
||||
override val name: String = "Java ${System.getProperty("java.version")}"
|
||||
}
|
||||
|
||||
actual fun getPlatform(): Platform = JVMPlatform()
|
||||
Loading…
Add table
Add a link
Reference in a new issue