Change all copyright headers to include 2012.
[Sone.git] / src / main / java / net / pterodactylus / sone / freenet / wot / IdentityListener.java
index 64ea61f..51e1437 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Sone - IdentityListener.java - Copyright © 2010 David Roden
+ * Sone - IdentityListener.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
@@ -47,25 +47,31 @@ public interface IdentityListener extends EventListener {
        /**
         * Notifies a listener that a new identity was discovered.
         *
+        * @param ownIdentity
+        *            The own identity at the root of the trust tree
         * @param identity
         *            The new identity
         */
-       public void identityAdded(Identity identity);
+       public void identityAdded(OwnIdentity ownIdentity, Identity identity);
 
        /**
         * Notifies a listener that some properties of the identity have changed.
         *
+        * @param ownIdentity
+        *            The own identity at the root of the trust tree
         * @param identity
         *            The updated identity
         */
-       public void identityUpdated(Identity identity);
+       public void identityUpdated(OwnIdentity ownIdentity, Identity identity);
 
        /**
         * Notifies a listener that an identity has gone away.
         *
+        * @param ownIdentity
+        *            The own identity at the root of the trust tree
         * @param identity
         *            The disappeared identity
         */
-       public void identityRemoved(Identity identity);
+       public void identityRemoved(OwnIdentity ownIdentity, Identity identity);
 
 }