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
|
2020-04-02 18:48:37 +02:00
|
|
|
import info.nightscout.androidaps.receivers.*
|
2019-12-30 00:53:44 +01:00
|
|
|
|
|
|
|
@Module
|
|
|
|
@Suppress("unused")
|
|
|
|
abstract class ReceiversModule {
|
|
|
|
|
2020-04-02 18:48:37 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesBTReceiver(): BTReceiver
|
2020-03-31 20:22:32 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesChargingStateReceiver(): ChargingStateReceiver
|
2020-03-31 10:10:48 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesDataReceiver(): DataReceiver
|
2019-12-30 00:53:44 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesKeepAliveReceiver(): KeepAliveReceiver
|
2020-03-31 09:20:58 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesNetworkChangeReceiver(): NetworkChangeReceiver
|
2020-03-16 21:40:29 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesRileyLinkBluetoothStateReceiver(): RileyLinkBluetoothStateReceiver
|
2020-03-31 10:10:48 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesTimeDateOrTZChangeReceiver(): TimeDateOrTZChangeReceiver
|
2019-12-30 00:53:44 +01:00
|
|
|
}
|