AndroidAPS/app/src/main/java/info/nightscout/androidaps/dependencyInjection/ServicesModule.kt

22 lines
1.1 KiB
Kotlin
Raw Normal View History

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-01-04 13:44:50 +01:00
import info.nightscout.androidaps.plugins.pump.danaRS.services.DanaRSService
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-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
2019-12-30 00:53:44 +01:00
}