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
|
2021-11-07 17:19:06 +01:00
|
|
|
import info.nightscout.androidaps.queue.CommandQueueImplementation
|
2020-04-30 00:37:58 +02:00
|
|
|
import info.nightscout.androidaps.queue.commands.*
|
|
|
|
|
|
|
|
@Module
|
|
|
|
@Suppress("unused")
|
|
|
|
abstract class CommandQueueModule {
|
|
|
|
|
2021-11-07 17:19:06 +01:00
|
|
|
@ContributesAndroidInjector abstract fun commandQueueInjector(): CommandQueueImplementation
|
2020-04-30 00:37:58 +02:00
|
|
|
@ContributesAndroidInjector abstract fun commandBolusInjector(): CommandBolus
|
|
|
|
@ContributesAndroidInjector abstract fun commandCancelExtendedBolusInjector(): CommandCancelExtendedBolus
|
|
|
|
@ContributesAndroidInjector abstract fun commandCancelTempBasalInjector(): CommandCancelTempBasal
|
|
|
|
@ContributesAndroidInjector abstract fun commandExtendedBolusInjector(): CommandExtendedBolus
|
|
|
|
@ContributesAndroidInjector abstract fun commandInsightSetTBROverNotificationInjector(): CommandInsightSetTBROverNotification
|
|
|
|
@ContributesAndroidInjector abstract fun commandLoadEventsInjector(): CommandLoadEvents
|
|
|
|
@ContributesAndroidInjector abstract fun commandLoadHistoryInjector(): CommandLoadHistory
|
|
|
|
@ContributesAndroidInjector abstract fun commandLoadTDDsInjector(): CommandLoadTDDs
|
|
|
|
@ContributesAndroidInjector abstract fun commandReadStatusInjector(): CommandReadStatus
|
|
|
|
@ContributesAndroidInjector abstract fun commandSetProfileInjector(): CommandSetProfile
|
|
|
|
@ContributesAndroidInjector abstract fun commandCommandSMBBolusInjector(): CommandSMBBolus
|
|
|
|
@ContributesAndroidInjector abstract fun commandStartPumpInjector(): CommandStartPump
|
|
|
|
@ContributesAndroidInjector abstract fun commandStopPumpInjector(): CommandStopPump
|
|
|
|
@ContributesAndroidInjector abstract fun commandTempBasalAbsoluteInjector(): CommandTempBasalAbsolute
|
|
|
|
@ContributesAndroidInjector abstract fun commandTempBasalPercentInjector(): CommandTempBasalPercent
|
|
|
|
@ContributesAndroidInjector abstract fun commandSetUserSettingsInjector(): CommandSetUserSettings
|
2020-09-14 16:19:09 +02:00
|
|
|
@ContributesAndroidInjector abstract fun commandCustomCommandInjector(): CommandCustomCommand
|
2020-04-30 00:37:58 +02:00
|
|
|
}
|