1 /*******************************************************************************
2  * Copyright (c) 2003, 2007 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  *      John Reimer <terminal.node@gmail.com>
12  *******************************************************************************/
13 module org.eclipse.swt.browser.FilePicker_1_8;
14 
15 import java.lang.all;
16 
17 import org.eclipse.swt.browser.FilePicker;
18 import XPCOM = org.eclipse.swt.internal.mozilla.XPCOM;
19 import org.eclipse.swt.internal.mozilla.nsStringAPI;
20 
21 class FilePicker_1_8 : FilePicker {
22 
23 extern(D)
24 String parseAString (nsAString* string) {
25     if (string is null) return null;
26     return nsAString.toString(string);
27 }
28 }