1 /******************************************************************************* 2 * Copyright (c) 2000, 2004 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 * Port to the D programming language: 11 * Frank Benoit <benoit@tionex.de> 12 *******************************************************************************/ 13 module org.eclipse.swt.graphics.DeviceData; 14 15 import java.lang.all; 16 17 version(Tango){ 18 } else { // Phobos 19 } 20 21 public class DeviceData { 22 /* 23 * The following fields are platform dependent. 24 * <p> 25 * <b>IMPORTANT:</b> These fields are <em>not</em> part of the SWT 26 * public API. They are marked public only so that they can be shared 27 * within the packages provided by SWT. They are not available on all 28 * platforms and should never be accessed from application code. 29 * </p> 30 */ 31 public String display_name; 32 public String application_name; 33 public String application_class; 34 35 /* 36 * Debug fields - may not be honoured 37 * on some SWT platforms. 38 */ 39 public bool debugging; 40 public bool tracking; 41 public Exception [] errors; 42 public Object [] objects; 43 }