Changeset 265:07d9ed8927b6

Show
Ignore:
Timestamp:
07/06/08 09:34:21 (2 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Add version TANGOSVN

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/widgets/DirectoryDialog.d

    r259 r265  
    2424import dwt.widgets.Display; 
    2525 
    26 static import tango.io.FileConst; 
     26version(TANGOSVN) 
     27    static import tango.io.model.IFile; 
     28
     29else{ 
     30    static import tango.io.FileConst; 
     31
    2732static import tango.text.Util; 
    2833 
     
    4045 * within the DWT implementation. 
    4146 * </p> 
    42  *  
     47 * 
    4348 * @see <a href="http://www.eclipse.org/swt/snippets/#directorydialog">DirectoryDialog snippets</a> 
    4449 * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: ControlExample, Dialog tab</a> 
     
    4752public class DirectoryDialog : Dialog { 
    4853    String message = "", filterPath = ""; 
    49     static const String SEPARATOR = tango.io.FileConst.FileConst.PathSeparatorString;; 
     54version(TANGOSVN) 
     55    static const String SEPARATOR = tango.io.model.IFile.FileConst.PathSeparatorString; 
     56
     57else{ 
     58    static const String SEPARATOR = tango.io.FileConst.FileConst.PathSeparatorString; 
     59
    5060 
    5161/** 
  • dwt/widgets/FileDialog.d

    r259 r265  
    2323import dwt.dwthelper.utils; 
    2424 
    25 static import tango.io.FileConst; 
     25version(TANGOSVN) 
     26    static import tango.io.model.IFile; 
     27
     28else{ 
     29    static import tango.io.FileConst; 
     30
    2631static import tango.text.Util; 
    2732static import tango.text.Text; 
     
    4247 * within the DWT implementation. 
    4348 * </p> 
    44  *  
     49 * 
    4550 * @see <a href="http://www.eclipse.org/swt/snippets/#filedialog">FileDialog snippets</a> 
    4651 * @see <a href="http://www.eclipse.org/swt/examples.php">DWT Example: ControlExample, Dialog tab</a> 
     
    5762    bool overwrite = false; 
    5863    GtkWidget* handle; 
     64version(TANGOSVN) 
     65    static final char SEPARATOR = tango.io.model.IFile.FileConst.PathSeparatorChar; 
     66} 
     67else{ 
    5968    static final char SEPARATOR = tango.io.FileConst.FileConst.PathSeparatorChar; 
     69} 
    6070    static final char EXTENSION_SEPARATOR = ';'; 
    6171