/*
- * Sone - CoreListenerManager.java - Copyright © 2010 David Roden
+ * Sone - CoreListenerManager.java - Copyright © 2010–2012 David Roden
*
* 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
import net.pterodactylus.sone.data.Image;
import net.pterodactylus.sone.data.Post;
-import net.pterodactylus.sone.data.Reply;
+import net.pterodactylus.sone.data.PostReply;
import net.pterodactylus.sone.data.Sone;
import net.pterodactylus.util.event.AbstractListenerManager;
import net.pterodactylus.util.version.Version;
/**
* Notifies all listeners that a new reply has been found.
*
- * @see CoreListener#newReplyFound(Reply)
+ * @see CoreListener#newReplyFound(PostReply)
* @param reply
* The new reply
*/
- void fireNewReplyFound(Reply reply) {
+ void fireNewReplyFound(PostReply reply) {
for (CoreListener coreListener : getListeners()) {
coreListener.newReplyFound(reply);
}
* @param reply
* The known reply
*/
- void fireMarkReplyKnown(Reply reply) {
+ void fireMarkReplyKnown(PostReply reply) {
for (CoreListener coreListener : getListeners()) {
coreListener.markReplyKnown(reply);
}
/**
* Notifies all listener that the given reply was removed.
*
- * @see CoreListener#replyRemoved(Reply)
+ * @see CoreListener#replyRemoved(PostReply)
* @param reply
* The removed reply
*/
- void fireReplyRemoved(Reply reply) {
+ void fireReplyRemoved(PostReply reply) {
for (CoreListener coreListener : getListeners()) {
coreListener.replyRemoved(reply);
}