Mercurial > projects > dwt-linux
comparison dwt/dwthelper/File.d @ 271:d472fae79005
Fix: compile errors
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 06 Jul 2008 15:41:30 +0200 |
parents | e10de397beb1 |
children | 9d67c3170a58 |
comparison
equal
deleted
inserted
replaced
270:58ef057b3e9d | 271:d472fae79005 |
---|---|
3 */ | 3 */ |
4 module dwt.dwthelper.File; | 4 module dwt.dwthelper.File; |
5 | 5 |
6 import dwt.dwthelper.utils; | 6 import dwt.dwthelper.utils; |
7 | 7 |
8 version(TANGOSVN) | 8 version(TANGOSVN) { |
9 static import tango.io.model.IFile; | 9 static import tango.io.model.IFile; |
10 } | 10 } |
11 else{ | 11 else{ |
12 static import tango.io.FileConst; | 12 static import tango.io.FileConst; |
13 } | 13 } |
22 public static String pathSeparator; | 22 public static String pathSeparator; |
23 | 23 |
24 private tango.io.FilePath.FilePath mFilePath; | 24 private tango.io.FilePath.FilePath mFilePath; |
25 | 25 |
26 static this(){ | 26 static this(){ |
27 version(TANGOSVN) | 27 version(TANGOSVN) { |
28 separator = tango.io.model.IFile.FileConst.PathSeparatorString; | 28 separator = tango.io.model.IFile.FileConst.PathSeparatorString; |
29 separatorChar = tango.io.model.IFile.FileConst.PathSeparatorChar; | 29 separatorChar = tango.io.model.IFile.FileConst.PathSeparatorChar; |
30 pathSeparator = tango.io.model.IFile.FileConst.SystemPathString; | 30 pathSeparator = tango.io.model.IFile.FileConst.SystemPathString; |
31 pathSeparatorChar = tango.io.model.IFile.FileConst.SystemPathChar; | 31 pathSeparatorChar = tango.io.model.IFile.FileConst.SystemPathChar; |
32 } | 32 } |