2022-01-06 17:45:00 +01:00
|
|
|
package info.nightscout.androidaps.di
|
2020-04-30 00:37:58 +02:00
|
|
|
|
|
|
|
import dagger.Module
|
|
|
|
import dagger.android.ContributesAndroidInjector
|
|
|
|
import info.nightscout.androidaps.plugins.aps.logger.LoggerCallback
|
|
|
|
import info.nightscout.androidaps.plugins.aps.openAPSAMA.DetermineBasalAdapterAMAJS
|
|
|
|
import info.nightscout.androidaps.plugins.aps.openAPSAMA.DetermineBasalResultAMA
|
|
|
|
import info.nightscout.androidaps.plugins.aps.openAPSSMB.DetermineBasalAdapterSMBJS
|
|
|
|
import info.nightscout.androidaps.plugins.aps.openAPSSMB.DetermineBasalResultSMB
|
|
|
|
import info.nightscout.androidaps.plugins.iob.iobCobCalculator.IobCobOref1Thread
|
|
|
|
import info.nightscout.androidaps.plugins.iob.iobCobCalculator.IobCobThread
|
|
|
|
|
|
|
|
@Module
|
|
|
|
@Suppress("unused")
|
|
|
|
abstract class APSModule {
|
|
|
|
|
|
|
|
@ContributesAndroidInjector abstract fun loggerCallbackInjector(): LoggerCallback
|
|
|
|
@ContributesAndroidInjector abstract fun determineBasalResultSMBInjector(): DetermineBasalResultSMB
|
|
|
|
@ContributesAndroidInjector abstract fun determineBasalResultAMAInjector(): DetermineBasalResultAMA
|
|
|
|
@ContributesAndroidInjector abstract fun determineBasalAdapterAMAJSInjector(): DetermineBasalAdapterAMAJS
|
|
|
|
@ContributesAndroidInjector abstract fun determineBasalAdapterSMBJSInjector(): DetermineBasalAdapterSMBJS
|
|
|
|
@ContributesAndroidInjector abstract fun iobCobThreadInjector(): IobCobThread
|
|
|
|
@ContributesAndroidInjector abstract fun iobCobOref1ThreadInjector(): IobCobOref1Thread
|
|
|
|
}
|