@@ -0,0 +1,790 @@
+package de.toman.milight.events;%0A%0Aimport java.util.EventListener;%0A%0A/**%0A * This interface should be implemented by a listeners for events from the%0A * de.toman.milight.events package. The%0A * %7B@link LightListener#lightsChanged(LightEvent)%7D function must be implemented%0A * to react on events.%0A * %0A * @author Stefan Toman (toman@tum.de)%0A */%0Apublic interface LightListener extends EventListener %7B%0A%0A%09/**%0A%09 * This function needs to be implemented to react on events. The same%0A%09 * function wil be called for every type of events. To handle each of them%0A%09 * on their own switch depending on the class of the event instance, for%0A%09 * instance %7B@link SwitchOnEvent%7D or %7B@link ChangeColorEvent%7D.%0A%09 * %0A%09 * @param e%0A%09 *            is the event that occured%0A%09 */%0A%09public void lightsChanged(LightEvent e);%0A%7D%0A

add an interface to be implemented by all listeners for light changes