# HG changeset patch # User Jacob Carlborg # Date 1230732116 -3600 # Node ID cbefbb00a6c9f0181396246a6b23de43b3f8d211 # Parent 2fb76eb49f047bb30c8673e664c43dbaa5012ba7 Ported dwt.dnd.Transfer diff -r 2fb76eb49f04 -r cbefbb00a6c9 dwt/dnd/Transfer.d --- a/dwt/dnd/Transfer.d Wed Dec 31 15:00:47 2008 +0100 +++ b/dwt/dnd/Transfer.d Wed Dec 31 15:01:56 2008 +0100 @@ -7,11 +7,16 @@ * * Contributors: * IBM Corporation - initial API and implementation + * + * Port to the D programming language: + * Jacob Carlborg *******************************************************************************/ module dwt.dnd.Transfer; import dwt.dwthelper.utils; +import dwt.dnd.TransferData; + /** * Transfer provides a mechanism for converting between a java @@ -30,7 +35,12 @@ */ public abstract class Transfer { -static String[] TYPES = new String[4]; +static String[] TYPES; + +static this () +{ + TYPES = new String[4]; +} /** * Returns a list of the platform specific data types that can be converted using diff -r 2fb76eb49f04 -r cbefbb00a6c9 dwt/dnd/TransferData.d --- a/dwt/dnd/TransferData.d Wed Dec 31 15:00:47 2008 +0100 +++ b/dwt/dnd/TransferData.d Wed Dec 31 15:01:56 2008 +0100 @@ -7,6 +7,9 @@ * * Contributors: * IBM Corporation - initial API and implementation + * + * Port to the D programming language: + * Jacob Carlborg *******************************************************************************/ module dwt.dnd.TransferData;