Mercurial > projects > dwt-mac
comparison dwt/dwthelper/File.d @ 38:198549365851
Fixed all the runtime errors, hello world app "works"
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Sun, 12 Oct 2008 15:26:21 +0200 |
parents | 380af2bdd8e5 |
children | 623ff6db5f1d |
comparison
equal
deleted
inserted
replaced
37:642f460a0908 | 38:198549365851 |
---|---|
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 static import tango.io.FileConst; | 8 static import tango.io.model.IFile; |
9 static import tango.io.FilePath; | 9 static import tango.io.FilePath; |
10 static import tango.io.FileSystem; | 10 static import tango.io.FileSystem; |
11 | 11 |
12 public class File { | 12 public class File { |
13 | 13 |
17 public static char[] pathSeparator; | 17 public static char[] pathSeparator; |
18 | 18 |
19 private tango.io.FilePath.FilePath mFilePath; | 19 private tango.io.FilePath.FilePath mFilePath; |
20 | 20 |
21 static this(){ | 21 static this(){ |
22 separator = tango.io.FileConst.FileConst.PathSeparatorString; | 22 separator = tango.io.model.IFile.FileConst.PathSeparatorString; |
23 separatorChar = tango.io.FileConst.FileConst.PathSeparatorChar; | 23 separatorChar = tango.io.model.IFile.FileConst.PathSeparatorChar; |
24 pathSeparator = tango.io.FileConst.FileConst.SystemPathString; | 24 pathSeparator = tango.io.model.IFile.FileConst.SystemPathString; |
25 pathSeparatorChar = tango.io.FileConst.FileConst.SystemPathChar; | 25 pathSeparatorChar = tango.io.model.IFile.FileConst.SystemPathChar; |
26 } | 26 } |
27 | 27 |
28 public this ( char[] pathname ){ | 28 public this ( char[] pathname ){ |
29 mFilePath = new tango.io.FilePath.FilePath( pathname ); | 29 mFilePath = new tango.io.FilePath.FilePath( pathname ); |
30 } | 30 } |