# HG changeset patch # User Frank Benoit # Date 1221442874 -7200 # Node ID d650eede28b3db771a5c166cec26d7232f7f0768 # Parent 8117dc3a8faa01ecc6b16bfae0373d4f58d2edbf Fix remaining porting type diff -r 8117dc3a8faa -r d650eede28b3 dwt/internal/DWTEventListener.d --- a/dwt/internal/DWTEventListener.d Mon Sep 15 03:40:57 2008 +0200 +++ b/dwt/internal/DWTEventListener.d Mon Sep 15 03:41:14 2008 +0200 @@ -12,12 +12,7 @@ *******************************************************************************/ module dwt.internal.DWTEventListener; - -//import java.util.EventListener; - -///PORTING_TYPE -interface EventListener{ -} +import dwt.dwthelper.utils; /** * This interface is the cross-platform version of the diff -r 8117dc3a8faa -r d650eede28b3 dwt/internal/DWTEventObject.d --- a/dwt/internal/DWTEventObject.d Mon Sep 15 03:40:57 2008 +0200 +++ b/dwt/internal/DWTEventObject.d Mon Sep 15 03:41:14 2008 +0200 @@ -17,29 +17,6 @@ import tango.core.Exception; import dwt.dwthelper.utils; -/+ -///PORTING_TYPE -class EventObject : EventObject { - protected Object source; - - public this(Object source) { - if (source is null) - throw new IllegalArgumentException( "null arg" ); - this.source = source; - } - - public Object getSource() { - return source; - } - - public override String toString() { - return this.classinfo.name ~ "[source=" ~ source.toString() ~ "]"; - } -} - -+/ - - /** * This class is the cross-platform version of the * java.util.EventObject class.