Mercurial > projects > dwt-linux
annotate dwt/internal/Platform.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | 0f12f6bb9739 |
children |
rev | line source |
---|---|
108 | 1 /******************************************************************************* |
0 | 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 | |
108 | 14 * Port to the D programming language: |
15 * Frank Benoit <benoit@tionex.de> | |
0 | 16 *******************************************************************************/ |
10
63c023465156
moved from org.eclipse.swt to dwt
Frank Benoit <benoit@tionex.de>
parents:
9
diff
changeset
|
17 module dwt.internal.Platform; |
0 | 18 |
238 | 19 import dwt.dwthelper.utils; |
20 | |
10
63c023465156
moved from org.eclipse.swt to dwt
Frank Benoit <benoit@tionex.de>
parents:
9
diff
changeset
|
21 import dwt.internal.Lock; |
0 | 22 |
23 public class Platform { | |
238 | 24 public static const String PLATFORM = "gtk"; //$NON-NLS-1$ |
104 | 25 public static const Lock lock; |
26 static this() { | |
0 | 27 lock = new Lock(); |
28 } | |
29 } |