Mercurial > projects > dwt-mac
diff dwt/dnd/Transfer.d @ 111:cbefbb00a6c9
Ported dwt.dnd.Transfer
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 31 Dec 2008 15:01:56 +0100 |
parents | a7e41c09df9e |
children | 2e671fa40eec |
line wrap: on
line diff
--- 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 <doob@me.com> *******************************************************************************/ module dwt.dnd.Transfer; import dwt.dwthelper.utils; +import dwt.dnd.TransferData; + /** * <code>Transfer</code> 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