Mercurial > projects > dwt-linux
diff org/eclipse/swt/internal/Platform.d @ 0:c8ad75f8819e
first import
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 05 Jan 2008 00:29:12 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/org/eclipse/swt/internal/Platform.d Sat Jan 05 00:29:12 2008 +0100 @@ -0,0 +1,25 @@ +/******************************************************************************* + * Copyright (c) 2000, 2007 IBM Corporation and others. All rights reserved. + * The contents of this file are made available under the terms + * of the GNU Lesser General Public License (LGPL) Version 2.1 that + * accompanies this distribution (lgpl-v21.txt). The LGPL is also + * available at http://www.gnu.org/licenses/lgpl.html. If the version + * of the LGPL at http://www.gnu.org is different to the version of + * the LGPL accompanying this distribution and there is any conflict + * between the two license versions, the terms of the LGPL accompanying + * this distribution shall govern. + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ +module org.eclipse.swt.internal.Platform; + +import org.eclipse.swt.internal.Lock; + +public class Platform { + public static const char[] PLATFORM = "gtk"; //$NON-NLS-1$ + public static const Lock lock; + static this(){ + lock = new Lock(); + } +}