2022-01-06 17:45:00 +01:00
|
|
|
package info.nightscout.androidaps.di
|
2019-12-23 13:27:15 +01:00
|
|
|
|
|
|
|
import dagger.Module
|
|
|
|
import dagger.android.ContributesAndroidInjector
|
|
|
|
import info.nightscout.androidaps.activities.MyPreferenceFragment
|
2022-10-06 15:12:03 +02:00
|
|
|
import info.nightscout.androidaps.dialogs.ExtendedBolusDialog
|
|
|
|
import info.nightscout.androidaps.dialogs.FillDialog
|
|
|
|
import info.nightscout.androidaps.dialogs.InsulinDialog
|
|
|
|
import info.nightscout.androidaps.dialogs.LoopDialog
|
2022-10-26 16:09:04 +02:00
|
|
|
import info.nightscout.androidaps.dialogs.NtpProgressDialog
|
2022-10-06 15:12:03 +02:00
|
|
|
import info.nightscout.androidaps.dialogs.ProfileSwitchDialog
|
|
|
|
import info.nightscout.androidaps.dialogs.TempBasalDialog
|
|
|
|
import info.nightscout.androidaps.dialogs.TempTargetDialog
|
|
|
|
import info.nightscout.androidaps.dialogs.TreatmentDialog
|
|
|
|
import info.nightscout.androidaps.dialogs.WizardDialog
|
|
|
|
import info.nightscout.androidaps.plugins.aps.OpenAPSFragment
|
2019-12-30 11:35:49 +01:00
|
|
|
import info.nightscout.androidaps.plugins.aps.loop.LoopFragment
|
2019-12-30 00:53:44 +01:00
|
|
|
import info.nightscout.androidaps.plugins.configBuilder.ConfigBuilderFragment
|
|
|
|
import info.nightscout.androidaps.plugins.constraints.objectives.ObjectivesFragment
|
|
|
|
import info.nightscout.androidaps.plugins.constraints.objectives.activities.ObjectivesExamDialog
|
|
|
|
import info.nightscout.androidaps.plugins.general.actions.ActionsFragment
|
2020-01-10 23:14:58 +01:00
|
|
|
import info.nightscout.androidaps.plugins.general.maintenance.MaintenanceFragment
|
2019-12-30 00:53:44 +01:00
|
|
|
import info.nightscout.androidaps.plugins.general.overview.OverviewFragment
|
|
|
|
import info.nightscout.androidaps.plugins.general.overview.dialogs.EditQuickWizardDialog
|
2020-03-26 22:43:49 +01:00
|
|
|
import info.nightscout.androidaps.plugins.general.wear.WearFragment
|
2020-02-11 19:34:56 +01:00
|
|
|
import info.nightscout.androidaps.utils.protection.PasswordCheck
|
2019-12-23 13:27:15 +01:00
|
|
|
|
|
|
|
@Module
|
2019-12-30 00:53:44 +01:00
|
|
|
@Suppress("unused")
|
2019-12-23 13:27:15 +01:00
|
|
|
abstract class FragmentsModule {
|
2019-12-27 19:20:38 +01:00
|
|
|
|
2019-12-30 00:53:44 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesPreferencesFragment(): MyPreferenceFragment
|
2019-12-29 00:07:30 +01:00
|
|
|
|
2019-12-30 00:53:44 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesActionsFragment(): ActionsFragment
|
2021-05-04 21:07:47 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesConfigBuilderFragment(): ConfigBuilderFragment
|
2019-12-30 00:53:44 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesObjectivesFragment(): ObjectivesFragment
|
2022-10-06 15:12:03 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesOpenAPSFragment(): OpenAPSFragment
|
2019-12-30 00:53:44 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesOverviewFragment(): OverviewFragment
|
2019-12-30 11:35:49 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesLoopFragment(): LoopFragment
|
2020-01-01 23:23:16 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesMaintenanceFragment(): MaintenanceFragment
|
2020-03-26 22:43:49 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesWearFragment(): WearFragment
|
2020-01-10 23:14:58 +01:00
|
|
|
|
2021-05-04 21:07:47 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesEditQuickWizardDialog(): EditQuickWizardDialog
|
2020-01-10 23:14:58 +01:00
|
|
|
|
2019-12-30 00:53:44 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesExtendedBolusDialog(): ExtendedBolusDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesFillDialog(): FillDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesInsulinDialog(): InsulinDialog
|
2020-12-26 17:40:16 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesLoopDialog(): LoopDialog
|
2019-12-30 00:53:44 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesObjectivesExamDialog(): ObjectivesExamDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesProfileSwitchDialog(): ProfileSwitchDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesTempBasalDialog(): TempBasalDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesTempTargetDialog(): TempTargetDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesTreatmentDialog(): TreatmentDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesWizardDialog(): WizardDialog
|
2022-10-26 16:09:04 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesNtpProgressDialog(): NtpProgressDialog
|
2020-02-11 19:34:56 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesPasswordCheck(): PasswordCheck
|
2019-12-23 13:27:15 +01:00
|
|
|
}
|