2015-09-24 17:27:43 +02:00
|
|
|
package eu.kanade.mangafeed;
|
|
|
|
|
|
|
|
import android.app.Application;
|
|
|
|
|
|
|
|
import javax.inject.Singleton;
|
|
|
|
|
|
|
|
import dagger.Component;
|
|
|
|
import eu.kanade.mangafeed.data.DataModule;
|
2015-10-11 15:48:17 +02:00
|
|
|
import eu.kanade.mangafeed.presenter.CatalogueListPresenter;
|
2015-10-10 14:28:57 +02:00
|
|
|
import eu.kanade.mangafeed.presenter.CataloguePresenter;
|
2015-09-26 18:58:01 +02:00
|
|
|
import eu.kanade.mangafeed.presenter.LibraryPresenter;
|
2015-09-28 15:02:46 +02:00
|
|
|
import eu.kanade.mangafeed.presenter.MangaDetailPresenter;
|
2015-09-24 17:27:43 +02:00
|
|
|
|
|
|
|
@Singleton
|
|
|
|
@Component(
|
|
|
|
modules = {
|
|
|
|
AppModule.class,
|
|
|
|
DataModule.class
|
|
|
|
}
|
|
|
|
)
|
|
|
|
public interface AppComponent {
|
|
|
|
|
2015-09-26 18:58:01 +02:00
|
|
|
void inject(LibraryPresenter libraryPresenter);
|
2015-09-28 15:02:46 +02:00
|
|
|
void inject(MangaDetailPresenter mangaDetailPresenter);
|
2015-10-10 14:28:57 +02:00
|
|
|
void inject(CataloguePresenter cataloguePresenter);
|
2015-10-11 15:48:17 +02:00
|
|
|
void inject(CatalogueListPresenter catalogueListPresenter);
|
2015-09-24 17:27:43 +02:00
|
|
|
|
|
|
|
Application application();
|
2015-10-11 15:48:17 +02:00
|
|
|
}
|