Oliver Rümpelein
cc703d5554
- Native builds to compile now - Add Arvm 32 bit target - Add Jvm main class for test runs
32 lines
577 B
Kotlin
32 lines
577 B
Kotlin
package de.pheerai.rcdbquery
|
|
|
|
import de.pheerai.rcdbquery.dataMappings.*
|
|
import de.pheerai.rcdbquery.dsl.*
|
|
|
|
expect class Sample() {
|
|
fun checkMe(): Int
|
|
}
|
|
|
|
expect object Platform {
|
|
val name: String
|
|
}
|
|
|
|
fun hello(): String = "Hello from ${Platform.name}"
|
|
|
|
fun generateQueryUrl() = rcdbQuery {
|
|
searchFor(SearchType.COASTER)
|
|
vendors(
|
|
Vendor.INTAMIN,
|
|
Vendor.MACK
|
|
)
|
|
sortBy(
|
|
Order.MANUFACTURER,
|
|
Order.INVERSIONS
|
|
)
|
|
custom(
|
|
"foo",
|
|
createRcdbParam(paramId = 12),
|
|
createRcdbParam(paramId = 24)
|
|
)
|
|
}
|