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

32 lines
2.1 KiB
Kotlin
Raw Normal View History

2019-12-13 02:12:19 +01:00
package info.nightscout.androidaps.dependencyInjection
import dagger.Module
import dagger.android.ContributesAndroidInjector
import info.nightscout.androidaps.MainActivity
2019-12-28 22:51:04 +01:00
import info.nightscout.androidaps.activities.*
2019-12-30 13:40:42 +01:00
import info.nightscout.androidaps.historyBrowser.HistoryBrowseActivity
2019-12-28 22:51:04 +01:00
import info.nightscout.androidaps.plugins.general.maintenance.activities.LogSettingActivity
import info.nightscout.androidaps.plugins.general.openhumans.OpenHumansLoginActivity
2019-12-28 22:51:04 +01:00
import info.nightscout.androidaps.plugins.general.overview.activities.QuickWizardListActivity
2020-03-20 17:31:30 +01:00
import info.nightscout.androidaps.plugins.general.smsCommunicator.activities.SmsCommunicatorOtpActivity
2019-12-28 22:51:04 +01:00
import info.nightscout.androidaps.setupwizard.SetupWizardActivity
2019-12-13 02:12:19 +01:00
@Module
2019-12-30 00:53:44 +01:00
@Suppress("unused")
2019-12-13 02:12:19 +01:00
abstract class ActivitiesModule {
2019-12-23 13:27:15 +01:00
2019-12-28 22:51:04 +01:00
@ContributesAndroidInjector abstract fun contributesHistoryBrowseActivity(): HistoryBrowseActivity
@ContributesAndroidInjector abstract fun contributesLogSettingActivity(): LogSettingActivity
@ContributesAndroidInjector abstract fun contributeMainActivity(): MainActivity
@ContributesAndroidInjector abstract fun contributesPreferencesActivity(): PreferencesActivity
@ContributesAndroidInjector abstract fun contributesQuickWizardListActivity(): QuickWizardListActivity
@ContributesAndroidInjector abstract fun contributesRequestDexcomPermissionActivity(): RequestDexcomPermissionActivity
@ContributesAndroidInjector abstract fun contributesSetupWizardActivity(): SetupWizardActivity
2020-03-16 21:40:29 +01:00
@ContributesAndroidInjector abstract fun contributesSingleFragmentActivity(): SingleFragmentActivity
2020-03-20 17:31:30 +01:00
@ContributesAndroidInjector abstract fun contributesSmsCommunicatorOtpActivity(): SmsCommunicatorOtpActivity
2019-12-28 22:51:04 +01:00
@ContributesAndroidInjector abstract fun contributesStatsActivity(): StatsActivity
@ContributesAndroidInjector abstract fun contributesSurveyActivity(): SurveyActivity
2020-07-06 21:14:00 +02:00
@ContributesAndroidInjector abstract fun contributesDefaultProfileActivity(): ProfileHelperActivity
@ContributesAndroidInjector abstract fun contributesOpenHumansLoginActivity(): OpenHumansLoginActivity
2019-12-13 02:12:19 +01:00
}