diff dwt/dwthelper/System.d @ 310:7ca3f26319f1

System.out.println and interface CharSequence
author Frank Benoit <benoit@tionex.de>
date Tue, 26 Aug 2008 02:47:19 +0200
parents 9764f08379f2
children 77fa7f3ab37e
line wrap: on
line diff
--- a/dwt/dwthelper/System.d	Fri Aug 22 21:36:05 2008 +0200
+++ b/dwt/dwthelper/System.d	Tue Aug 26 02:47:19 2008 +0200
@@ -167,15 +167,29 @@
     public static void setProperty ( String key, String value ) {
         /* set property for local dwt keys */
         if (key[0..3] == "dwt") {
-            if (key !is null && value !is null) 
+            if (key !is null && value !is null)
                 localProperties[ key ] = value;
         /* else set properties for global system keys (environment) */
         } else {
-        
+
         }
 
     }
 
+    class Output {
+        public void println( String str ){
+            implMissing( __FILE__, __LINE__ );
+        }
+    }
+
+    public static Output out__;
+    public static Output out_(){
+        if( out__ is null ){
+            out__ = new Output();
+        }
+        return out__;
+    }
+
     private static String[String] localProperties;
 }