2018-05-06 11:07:10 +02:00
|
|
|
/* Copyright 2018 Jeremiasz Nelz <remi6397(a)gmail.com>
|
|
|
|
* Copyright 2018 Conny Duck
|
2018-04-22 17:20:01 +02:00
|
|
|
*
|
|
|
|
* This file is a part of Tusky.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
|
|
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* Tusky is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
|
|
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
|
|
* Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with Tusky; if not,
|
|
|
|
* see <http://www.gnu.org/licenses>. */
|
|
|
|
|
|
|
|
package com.keylesspalace.tusky.di
|
|
|
|
|
|
|
|
import com.keylesspalace.tusky.receiver.NotificationClearBroadcastReceiver
|
2021-06-28 21:13:24 +02:00
|
|
|
import com.keylesspalace.tusky.receiver.SendStatusBroadcastReceiver
|
2018-04-22 17:20:01 +02:00
|
|
|
import dagger.Module
|
|
|
|
import dagger.android.ContributesAndroidInjector
|
|
|
|
|
|
|
|
@Module
|
|
|
|
abstract class BroadcastReceiverModule {
|
|
|
|
@ContributesAndroidInjector
|
2021-06-28 21:13:24 +02:00
|
|
|
abstract fun contributeSendStatusBroadcastReceiver(): SendStatusBroadcastReceiver
|
2018-05-06 11:07:10 +02:00
|
|
|
|
2018-05-06 13:17:17 +02:00
|
|
|
@ContributesAndroidInjector
|
2021-06-28 21:13:24 +02:00
|
|
|
abstract fun contributeNotificationClearBroadcastReceiver(): NotificationClearBroadcastReceiver
|
|
|
|
}
|