Add Sone removal notification to core listener interface.
[Sone.git] / src / main / java / net / pterodactylus / sone / core / CoreListener.java
index 5fbb333..d34ac36 100644 (file)
@@ -97,6 +97,14 @@ public interface CoreListener extends EventListener {
        public void markReplyKnown(Reply reply);
 
        /**
+        * Notifies a listener that the given Sone was removed.
+        *
+        * @param sone
+        *            The removed Sone
+        */
+       public void soneRemoved(Sone sone);
+
+       /**
         * Notifies a listener that the given post was removed.
         *
         * @param post
@@ -135,7 +143,9 @@ public interface CoreListener extends EventListener {
         *            The version that was found
         * @param releaseTime
         *            The release time of the new version
+        * @param latestEdition
+        *            The latest edition of the Sone homepage
         */
-       public void updateFound(Version version, long releaseTime);
+       public void updateFound(Version version, long releaseTime, long latestEdition);
 
 }