1 /* 2 Copyright aswing.org, see the LICENCE.txt. 3 */ 4 5 /** 6 * A interface that indicate a class must implement event dispatcher functions. 7 * @see org.aswing.EventDispatcher 8 * @author iiley 9 */ 10 interface org.aswing.IEventDispatcher{ 11 12 public function addEventListener(eventNameOrLis:Object, func:Function, obj:Object):Object; 13 14 public function removeEventListener(listener:Object):Void; 15 } 16