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
|
2022-02-17 21:08:50 +01:00
|
|
|
import info.nightscout.androidaps.plugins.aps.openAPSSMBDynamicISF.DetermineBasalAdapterSMBDynamicISFJS
|
2020-04-30 00:37:58 +02:00
|
|
|
|
|
|
|
@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
|
2022-02-17 21:08:50 +01:00
|
|
|
@ContributesAndroidInjector abstract fun determineBasalAdapterSMBAutoISFJSInjector(): DetermineBasalAdapterSMBDynamicISFJS
|
2020-04-30 00:37:58 +02:00
|
|
|
}
|