Mercurial > projects > dwt-win
changeset 310:d650eede28b3
Fix remaining porting type
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 15 Sep 2008 03:41:14 +0200 |
parents | 8117dc3a8faa |
children | 02332a154347 |
files | dwt/internal/DWTEventListener.d dwt/internal/DWTEventObject.d |
diffstat | 2 files changed, 1 insertions(+), 29 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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.