import net.pterodactylus.sonitus.data.Filter;
import net.pterodactylus.sonitus.data.Metadata;
+import com.google.common.eventbus.EventBus;
import com.google.common.io.Closeables;
/**
/** The name of this filter. */
private final String name;
+ /** The event bus. */
+ private final EventBus eventBus;
+
/** The input stream from which to read. */
private InputStream inputStream;
/**
* Creates a new dummy filter with the given name.
*
+ * @param eventBus
+ * The event bus
* @param name
* The name of the filter
*/
- public DummyFilter(String name) {
+ public DummyFilter(EventBus eventBus, String name) {
+ this.eventBus = eventBus;
this.name = name;
}