diff dwt/dwthelper/FileInputStream.d @ 332:1ee938a6e02e

Tango updates, removing trace prints and added prints via Logger
author Frank Benoit <benoit@tionex.de>
date Sun, 01 Feb 2009 19:40:09 +0100
parents 8d53428f9be0
children f866e80af235
line wrap: on
line diff
--- a/dwt/dwthelper/FileInputStream.d	Tue Jan 27 10:40:55 2009 +0100
+++ b/dwt/dwthelper/FileInputStream.d	Sun Feb 01 19:40:09 2009 +0100
@@ -8,9 +8,9 @@
 import dwt.dwthelper.InputStream;
 
 version(TANGOSVN){
-import tango.io.device.FileConduit;
+import TangoFile = tango.io.device.File;
 } else {
-import tango.io.FileConduit;
+import TangoFile = tango.io.FileConduit;
 }
 import tango.io.protocol.Reader;
 import tango.core.Exception;
@@ -20,7 +20,7 @@
 
     alias dwt.dwthelper.InputStream.InputStream.read read;
 
-    private FileConduit conduit;
+    private TangoFile.File conduit;
     private ubyte[] buffer;
     private int buf_pos;
     private int buf_size;
@@ -28,13 +28,13 @@
     private bool eof;
 
     public this ( String name ){
-        conduit = new FileConduit( name );
+        conduit = new TangoFile.File( name );
         buffer = new ubyte[]( BUFFER_SIZE );
     }
 
     public this ( dwt.dwthelper.File.File file ){
         implMissing( __FILE__, __LINE__ );
-        conduit = new FileConduit( file.getAbsolutePath(), FileConduit.ReadExisting );
+        conduit = new TangoFile.File( file.getAbsolutePath(), TangoFile.File.ReadExisting );
         buffer = new ubyte[]( BUFFER_SIZE );
     }