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-25 09:23:19 +02:00
|
|
|
import info.nightscout.androidaps.plugins.pump.common.hw.rileylink.service.RileyLinkBroadcastReceiver
|
2020-03-10 19:46:14 +01:00
|
|
|
import info.nightscout.androidaps.plugins.aps.loop.CarbSuggestionReceiver
|
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-16 21:40:29 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesRileyLinkBluetoothStateReceiver(): RileyLinkBluetoothStateReceiver
|
2020-04-21 19:31:11 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesSmsReceiver(): SmsReceiver
|
2020-03-31 10:10:48 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesTimeDateOrTZChangeReceiver(): TimeDateOrTZChangeReceiver
|
2020-03-10 19:46:14 +01:00
|
|
|
@ContributesAndroidInjector abstract fun contributesCarbSuggestionReceiver(): CarbSuggestionReceiver
|
2020-04-25 09:23:19 +02:00
|
|
|
@ContributesAndroidInjector abstract fun contributesRileyLinkBroadcastReceiver(): RileyLinkBroadcastReceiver
|
2020-05-03 06:45:45 +02:00
|
|
|
}
|