Add events for marked known posts and replies.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / CoreListener.java
index 2547e63..ca99e87 100644 (file)
@@ -55,4 +55,28 @@ public interface CoreListener extends EventListener {
         */
        public void newReplyFound(Reply reply);
 
+       /**
+        * Notifies a listener that the given Sone is now marked as known.
+        *
+        * @param sone
+        *            The known Sone
+        */
+       public void markSoneKnown(Sone sone);
+
+       /**
+        * Notifies a listener that the given post is now marked as known.
+        *
+        * @param post
+        *            The known post
+        */
+       public void markPostKnown(Post post);
+
+       /**
+        * Notifies a listener that the given reply is now marked as known.
+        *
+        * @param reply
+        *            The known reply
+        */
+       public void markReplyKnown(Reply reply);
+
 }