2020-04-30 00:37:58 +02:00
|
|
|
package info.nightscout.androidaps.dependencyInjection
|
|
|
|
|
|
|
|
import dagger.Module
|
|
|
|
import dagger.android.ContributesAndroidInjector
|
2021-02-08 10:05:21 +01:00
|
|
|
import info.nightscout.androidaps.db.DatabaseHelper
|
2020-05-12 14:33:47 +02:00
|
|
|
import info.nightscout.androidaps.plugins.general.food.FoodService
|
2021-02-08 10:05:21 +01:00
|
|
|
import info.nightscout.androidaps.plugins.iob.iobCobCalculator.GlucoseStatus
|
2020-04-30 18:39:52 +02:00
|
|
|
import info.nightscout.androidaps.plugins.treatments.TreatmentService
|
2020-04-30 00:37:58 +02:00
|
|
|
import info.nightscout.androidaps.utils.wizard.BolusWizard
|
|
|
|
import info.nightscout.androidaps.utils.wizard.QuickWizardEntry
|
|
|
|
|
|
|
|
@Module
|
|
|
|
@Suppress("unused")
|
|
|
|
abstract class DataClassesModule {
|
|
|
|
|
|
|
|
@ContributesAndroidInjector abstract fun glucoseStatusInjector(): GlucoseStatus
|
|
|
|
|
2020-05-12 14:33:47 +02:00
|
|
|
@ContributesAndroidInjector abstract fun DatabaseHelperInjector(): DatabaseHelper
|
2020-04-30 18:39:52 +02:00
|
|
|
@ContributesAndroidInjector abstract fun treatmentServiceInjector(): TreatmentService
|
2020-05-12 14:33:47 +02:00
|
|
|
@ContributesAndroidInjector abstract fun foodServiceInjector(): FoodService
|
2020-04-30 18:39:52 +02:00
|
|
|
|
2020-04-30 00:37:58 +02:00
|
|
|
@ContributesAndroidInjector abstract fun bolusWizardInjector(): BolusWizard
|
|
|
|
@ContributesAndroidInjector abstract fun quickWizardEntryInjector(): QuickWizardEntry
|
|
|
|
}
|