2019-12-30 00:53:44 +01:00
|
|
|
package info.nightscout.androidaps.dependencyInjection
|
|
|
|
|
|
|
|
import dagger.Module
|
|
|
|
import dagger.android.ContributesAndroidInjector
|
2020-01-01 23:23:16 +01:00
|
|
|
import info.nightscout.androidaps.plugins.general.nsclient.services.NSClientService
|
2020-01-02 23:25:29 +01:00
|
|
|
import info.nightscout.androidaps.plugins.general.persistentNotification.DummyService
|
2020-03-12 21:31:17 +01:00
|
|
|
import info.nightscout.androidaps.plugins.general.wear.wearintegration.WatchUpdaterService
|
2020-03-16 22:49:34 +01:00
|
|
|
import info.nightscout.androidaps.plugins.pump.danaR.services.AbstractDanaRExecutionService
|
2020-01-12 23:43:44 +01:00
|
|
|
import info.nightscout.androidaps.plugins.pump.danaR.services.DanaRExecutionService
|
|
|
|
import info.nightscout.androidaps.plugins.pump.danaRKorean.services.DanaRKoreanExecutionService
|
2020-01-04 13:44:50 +01:00
|
|
|
import info.nightscout.androidaps.plugins.pump.danaRS.services.DanaRSService
|
2020-01-12 23:43:44 +01:00
|
|
|
import info.nightscout.androidaps.plugins.pump.danaRv2.services.DanaRv2ExecutionService
|
2020-01-02 23:25:29 +01:00
|
|
|
import info.nightscout.androidaps.services.AlarmSoundService
|
2019-12-30 00:53:44 +01:00
|
|
|
import info.nightscout.androidaps.services.DataService
|
2020-01-02 23:25:29 +01:00
|
|
|
import info.nightscout.androidaps.services.LocationService
|
2019-12-30 00:53:44 +01:00
|
|
|
|
|
|
|
@Module
|
|
|
|
@Suppress("unused")
|
|
|
|
abstract class ServicesModule {
|
|
|
|
|
2020-03-16 22:49:34 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesAbstractDanaRExecutionService(): AbstractDanaRExecutionService
|
2020-01-02 23:25:29 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesAlarmSoundService(): AlarmSoundService
|
2019-12-30 00:53:44 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesDataService(): DataService
|
2020-01-02 23:25:29 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesDummyService(): DummyService
|
|
|
|
@ContributesAndroidInjector abstract fun contributesLocationService(): LocationService
|
2020-01-01 23:23:16 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesNSClientService(): NSClientService
|
2020-01-04 13:44:50 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesDanaRSService(): DanaRSService
|
2020-01-12 23:43:44 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesDanaRv2ExecutionService(): DanaRv2ExecutionService
|
|
|
|
@ContributesAndroidInjector abstract fun contributesDanaRExecutionService(): DanaRExecutionService
|
|
|
|
@ContributesAndroidInjector abstract fun contributesDanaRKoreanExecutionService(): DanaRKoreanExecutionService
|
2020-03-12 21:31:17 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesWatchUpdaterService(): WatchUpdaterService
|
2019-12-30 00:53:44 +01:00
|
|
|
}
|