changeset 308:8d53428f9be0

Tango breaking change for new package tango.io.device
author Frank Benoit <benoit@tionex.de>
date Sun, 14 Sep 2008 19:58:20 +0200
parents 10de361de572
children 8117dc3a8faa
files dwt/dwthelper/FileInputStream.d dwt/dwthelper/FileOutputStream.d dwt/dwthelper/InflaterInputStream.d
diffstat 3 files changed, 13 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/dwthelper/FileInputStream.d	Tue Sep 09 06:35:22 2008 +0200
+++ b/dwt/dwthelper/FileInputStream.d	Sun Sep 14 19:58:20 2008 +0200
@@ -7,7 +7,11 @@
 import dwt.dwthelper.File;
 import dwt.dwthelper.InputStream;
 
+version(TANGOSVN){
+import tango.io.device.FileConduit;
+} else {
 import tango.io.FileConduit;
+}
 import tango.io.protocol.Reader;
 import tango.core.Exception;
 import tango.text.convert.Format;
--- a/dwt/dwthelper/FileOutputStream.d	Tue Sep 09 06:35:22 2008 +0200
+++ b/dwt/dwthelper/FileOutputStream.d	Sun Sep 14 19:58:20 2008 +0200
@@ -8,7 +8,11 @@
 
 import dwt.dwthelper.utils;
 
+version(TANGOSVN){
+import tango.io.device.FileConduit;
+} else {
 import tango.io.FileConduit;
+}
 
 public class FileOutputStream : dwt.dwthelper.OutputStream.OutputStream {
 
--- a/dwt/dwthelper/InflaterInputStream.d	Tue Sep 09 06:35:22 2008 +0200
+++ b/dwt/dwthelper/InflaterInputStream.d	Sun Sep 14 19:58:20 2008 +0200
@@ -12,7 +12,11 @@
         pragma(link,"zlib");
     }
 }
-import tango.io.Conduit;
+version(TANGOSVN){
+    import tango.io.device.Conduit;
+} else {
+    import tango.io.Conduit;
+}
 
 class InputStreamWrapper : tango.io.model.IConduit.InputStream {