1 /******************************************************************************* 2 * Copyright (c) 2000, 2007 IBM Corporation and others. All rights reserved. 3 * The contents of this file are made available under the terms 4 * of the GNU Lesser General Public License (LGPL) Version 2.1 that 5 * accompanies this distribution (lgpl-v21.txt). The LGPL is also 6 * available at http://www.gnu.org/licenses/lgpl.html. If the version 7 * of the LGPL at http://www.gnu.org is different to the version of 8 * the LGPL accompanying this distribution and there is any conflict 9 * between the two license versions, the terms of the LGPL accompanying 10 * this distribution shall govern. 11 * 12 * Contributors: 13 * IBM Corporation - initial API and implementation 14 * Port to the D programming language: 15 * Frank Benoit <benoit@tionex.de> 16 *******************************************************************************/ 17 module org.eclipse.swt.internal.Platform; 18 19 import java.lang.all; 20 21 import org.eclipse.swt.internal.Lock; 22 23 public class Platform { 24 public static const String PLATFORM = "gtk"; //$NON-NLS-1$ 25 public static Lock lock; 26 static this() { 27 lock = new Lock(); 28 } 29 }