2020-05-07 09:54:36 +02:00
|
|
|
package info.nightscout.androidaps
|
|
|
|
|
|
|
|
import info.nightscout.androidaps.interfaces.ConfigInterface
|
|
|
|
import javax.inject.Inject
|
|
|
|
import javax.inject.Singleton
|
|
|
|
|
|
|
|
@Singleton
|
2021-01-18 17:36:18 +01:00
|
|
|
class Config @Inject constructor() : ConfigInterface {
|
2020-05-07 09:54:36 +02:00
|
|
|
|
|
|
|
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"
|
2021-01-18 17:36:18 +01:00
|
|
|
override val FLAVOR = BuildConfig.FLAVOR
|
|
|
|
override val VERSION_NAME = BuildConfig.VERSION_NAME
|
2020-05-07 09:54:36 +02:00
|
|
|
}
|