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

16 lines
761 B
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-03-16 21:40:29 +01:00
import info.nightscout.androidaps.plugins.pump.common.hw.rileylink.service.RileyLinkBluetoothStateReceiver
2019-12-30 00:53:44 +01:00
import info.nightscout.androidaps.receivers.KeepAliveReceiver
2020-03-16 21:40:29 +01:00
import info.nightscout.androidaps.receivers.TimeDateOrTZChangeReceiver
2019-12-30 00:53:44 +01:00
@Module
@Suppress("unused")
abstract class ReceiversModule {
@ContributesAndroidInjector abstract fun contributesKeepAliveReceiver(): KeepAliveReceiver
2020-03-16 21:40:29 +01:00
@ContributesAndroidInjector abstract fun contributesTimeDateOrTZChangeReceiver(): TimeDateOrTZChangeReceiver
@ContributesAndroidInjector abstract fun contributesRileyLinkBluetoothStateReceiver(): RileyLinkBluetoothStateReceiver
2019-12-30 00:53:44 +01:00
}