15 lines
591 B
Kotlin
15 lines
591 B
Kotlin
|
package info.nightscout.androidaps
|
||
|
|
||
|
import info.nightscout.androidaps.interfaces.ConfigInterface
|
||
|
import javax.inject.Inject
|
||
|
import javax.inject.Singleton
|
||
|
|
||
|
@Singleton
|
||
|
class Config @Inject constructor(): ConfigInterface{
|
||
|
|
||
|
override val SUPPORTEDNSVERSION = 1002 // 0.10.00
|
||
|
override val APS = BuildConfig.FLAVOR == "full"
|
||
|
override val NSCLIENT = BuildConfig.FLAVOR == "nsclient" || BuildConfig.FLAVOR == "nsclient2"
|
||
|
override val PUMPCONTROL = BuildConfig.FLAVOR == "pumpcontrol"
|
||
|
override val PUMPDRIVERS = BuildConfig.FLAVOR == "full" || BuildConfig.FLAVOR == "pumpcontrol"
|
||
|
}
|