|
@@ -0,0 +1,75 @@
|
|
|
+package eu.kanade.tachiyomi;
|
|
|
+
|
|
|
+import org.greenrobot.eventbus.meta.SimpleSubscriberInfo;
|
|
|
+import org.greenrobot.eventbus.meta.SubscriberMethodInfo;
|
|
|
+import org.greenrobot.eventbus.meta.SubscriberInfo;
|
|
|
+import org.greenrobot.eventbus.meta.SubscriberInfoIndex;
|
|
|
+
|
|
|
+import org.greenrobot.eventbus.ThreadMode;
|
|
|
+
|
|
|
+import java.util.HashMap;
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+/** This class is generated by EventBus, do not edit. */
|
|
|
+public class EventBusIndex implements SubscriberInfoIndex {
|
|
|
+ private static final Map<Class<?>, SubscriberInfo> SUBSCRIBER_INDEX;
|
|
|
+
|
|
|
+ static {
|
|
|
+ SUBSCRIBER_INDEX = new HashMap<Class<?>, SubscriberInfo>();
|
|
|
+
|
|
|
+ putIndex(new SimpleSubscriberInfo(eu.kanade.tachiyomi.ui.manga.MangaPresenter.class, true,
|
|
|
+ new SubscriberMethodInfo[] {
|
|
|
+ new SubscriberMethodInfo("onEvent", eu.kanade.tachiyomi.data.database.models.Manga.class, ThreadMode.MAIN, 0,
|
|
|
+ true),
|
|
|
+ }));
|
|
|
+
|
|
|
+ putIndex(new SimpleSubscriberInfo(eu.kanade.tachiyomi.ui.manga.myanimelist.MyAnimeListPresenter.class, true,
|
|
|
+ new SubscriberMethodInfo[] {
|
|
|
+ new SubscriberMethodInfo("onEvent", eu.kanade.tachiyomi.event.MangaEvent.class, ThreadMode.MAIN, 0, true),
|
|
|
+ }));
|
|
|
+
|
|
|
+ putIndex(new SimpleSubscriberInfo(eu.kanade.tachiyomi.ui.reader.ReaderPresenter.class, true,
|
|
|
+ new SubscriberMethodInfo[] {
|
|
|
+ new SubscriberMethodInfo("onEvent", eu.kanade.tachiyomi.event.ReaderEvent.class, ThreadMode.MAIN, 0, true),
|
|
|
+ }));
|
|
|
+
|
|
|
+ putIndex(new SimpleSubscriberInfo(eu.kanade.tachiyomi.ui.library.LibraryCategoryFragment.class, true,
|
|
|
+ new SubscriberMethodInfo[] {
|
|
|
+ new SubscriberMethodInfo("onEvent", eu.kanade.tachiyomi.event.LibraryMangasEvent.class, ThreadMode.MAIN, 0,
|
|
|
+ true),
|
|
|
+ }));
|
|
|
+
|
|
|
+ putIndex(new SimpleSubscriberInfo(eu.kanade.tachiyomi.data.download.DownloadService.class, true,
|
|
|
+ new SubscriberMethodInfo[] {
|
|
|
+ new SubscriberMethodInfo("onEvent", eu.kanade.tachiyomi.event.DownloadChaptersEvent.class, ThreadMode.MAIN,
|
|
|
+ 0, true),
|
|
|
+ }));
|
|
|
+
|
|
|
+ putIndex(new SimpleSubscriberInfo(eu.kanade.tachiyomi.ui.manga.chapter.ChaptersPresenter.class, true,
|
|
|
+ new SubscriberMethodInfo[] {
|
|
|
+ new SubscriberMethodInfo("onEvent", eu.kanade.tachiyomi.event.MangaEvent.class, ThreadMode.MAIN, 0, true),
|
|
|
+ }));
|
|
|
+
|
|
|
+ putIndex(new SimpleSubscriberInfo(eu.kanade.tachiyomi.ui.manga.info.MangaInfoPresenter.class, true,
|
|
|
+ new SubscriberMethodInfo[] {
|
|
|
+ new SubscriberMethodInfo("onEvent", eu.kanade.tachiyomi.event.MangaEvent.class, ThreadMode.MAIN, 0, true),
|
|
|
+ new SubscriberMethodInfo("onEvent", eu.kanade.tachiyomi.event.ChapterCountEvent.class, ThreadMode.MAIN, 0,
|
|
|
+ true),
|
|
|
+ }));
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
+ private static void putIndex(SubscriberInfo info) {
|
|
|
+ SUBSCRIBER_INDEX.put(info.getSubscriberClass(), info);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public SubscriberInfo getSubscriberInfo(Class<?> subscriberClass) {
|
|
|
+ SubscriberInfo info = SUBSCRIBER_INDEX.get(subscriberClass);
|
|
|
+ if (info != null) {
|
|
|
+ return info;
|
|
|
+ } else {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|