2019-12-23 13:27:15 +01:00
|
|
|
package info.nightscout.androidaps.dependencyInjection
|
|
|
|
|
|
|
|
import dagger.Module
|
|
|
|
import dagger.android.ContributesAndroidInjector
|
|
|
|
import info.nightscout.androidaps.activities.MyPreferenceFragment
|
2019-12-27 19:20:38 +01:00
|
|
|
import info.nightscout.androidaps.dialogs.*
|
2019-12-28 01:14:04 +01:00
|
|
|
import info.nightscout.androidaps.plugins.aps.openAPSAMA.OpenAPSAMAFragment
|
|
|
|
import info.nightscout.androidaps.plugins.aps.openAPSMA.OpenAPSMAFragment
|
|
|
|
import info.nightscout.androidaps.plugins.aps.openAPSSMB.OpenAPSSMBFragment
|
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.constraints.objectives.dialogs.NtpProgressDialog
|
|
|
|
import info.nightscout.androidaps.plugins.general.actions.ActionsFragment
|
|
|
|
import info.nightscout.androidaps.plugins.general.automation.AutomationFragment
|
|
|
|
import info.nightscout.androidaps.plugins.general.automation.dialogs.ChooseActionDialog
|
|
|
|
import info.nightscout.androidaps.plugins.general.automation.dialogs.ChooseTriggerDialog
|
|
|
|
import info.nightscout.androidaps.plugins.general.automation.dialogs.EditActionDialog
|
|
|
|
import info.nightscout.androidaps.plugins.general.automation.dialogs.EditEventDialog
|
|
|
|
import info.nightscout.androidaps.plugins.general.automation.dialogs.EditTriggerDialog
|
|
|
|
import info.nightscout.androidaps.plugins.general.overview.OverviewFragment
|
|
|
|
import info.nightscout.androidaps.plugins.general.overview.dialogs.EditQuickWizardDialog
|
2019-12-27 04:17:49 +01:00
|
|
|
import info.nightscout.androidaps.plugins.general.smsCommunicator.SmsCommunicatorFragment
|
2019-12-30 00:53:44 +01:00
|
|
|
import info.nightscout.androidaps.plugins.general.tidepool.TidepoolFragment
|
|
|
|
import info.nightscout.androidaps.plugins.profile.local.LocalProfileFragment
|
2019-12-28 22:51:04 +01:00
|
|
|
import info.nightscout.androidaps.plugins.profile.ns.NSProfileFragment
|
2019-12-30 00:53:44 +01:00
|
|
|
import info.nightscout.androidaps.plugins.pump.danaR.DanaRFragment
|
|
|
|
import info.nightscout.androidaps.plugins.pump.medtronic.MedtronicFragment
|
|
|
|
import info.nightscout.androidaps.plugins.pump.virtual.VirtualPumpFragment
|
|
|
|
import info.nightscout.androidaps.plugins.source.BGSourceFragment
|
2019-12-29 00:07:30 +01:00
|
|
|
import info.nightscout.androidaps.plugins.treatments.TreatmentsFragment
|
2019-12-30 00:53:44 +01:00
|
|
|
import info.nightscout.androidaps.plugins.treatments.fragments.TreatmentsProfileSwitchFragment
|
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
|
|
|
|
@ContributesAndroidInjector abstract fun contributesAutomationFragment(): AutomationFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesBGSourceFragment(): BGSourceFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesConfigBuilderFragment(): ConfigBuilderFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesDanaRFragment(): DanaRFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesEditActionDialog(): EditActionDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesEditEventDialog(): EditEventDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesEditTriggerDialog(): EditTriggerDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesEditQuickWizardDialog(): EditQuickWizardDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesChooseActionDialog(): ChooseActionDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesChooseTriggerDialog(): ChooseTriggerDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesLocalProfileFragment(): LocalProfileFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesObjectivesFragment(): ObjectivesFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesOpenAPSAMAFragment(): OpenAPSAMAFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesOpenAPSMAFragment(): OpenAPSMAFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesOpenAPSSMBFragment(): OpenAPSSMBFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesOverviewFragment(): OverviewFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesMedtronicFragment(): MedtronicFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesNSProfileFragment(): NSProfileFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesSmsCommunicatorFragment(): SmsCommunicatorFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesTidepoolFragment(): TidepoolFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesTreatmentsFragment(): TreatmentsFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesTreatmentsProfileSwitchFragment(): TreatmentsProfileSwitchFragment
|
|
|
|
@ContributesAndroidInjector abstract fun contributesVirtualPumpFragment(): VirtualPumpFragment
|
2019-12-29 00:07:30 +01:00
|
|
|
|
2019-12-30 00:53:44 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesBolusProgressDialog(): BolusProgressDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesCalibrationDialog(): CalibrationDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesCarbsDialog(): CarbsDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesCareDialog(): CareDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesErrorDialog(): ErrorDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesExtendedBolusDialog(): ExtendedBolusDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesFillDialog(): FillDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesInsulinDialog(): InsulinDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesNtpProgressDialog(): NtpProgressDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesObjectivesExamDialog(): ObjectivesExamDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesProfileSwitchDialog(): ProfileSwitchDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesProfileViewerDialog(): ProfileViewerDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesTempBasalDialog(): TempBasalDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesTempTargetDialog(): TempTargetDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesTreatmentDialog(): TreatmentDialog
|
|
|
|
@ContributesAndroidInjector abstract fun contributesWizardDialog(): WizardDialog
|
2019-12-23 13:27:15 +01:00
|
|
|
}
|