Changeset 34 for trunk/VerboseApp.d

Show
Ignore:
Timestamp:
01/04/09 08:20:43 (3 years ago)
Author:
xammy
Message:

Fixed some bugs due to changes in Tango API

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/VerboseApp.d

    r24 r34  
    33import  fcgi.Request; 
    44 
     5import tango.io.stream.Format; 
    56import tango.text.convert.Layout; 
    6 import tango.io.Print; 
    7 import tango.io.Buffer; 
    87 
    98class MyApp : FastCGIApplication 
    109{ 
    11     private Print!(char) stdout; 
    12     private Print!(char) stderr; 
     10    private FormatOutput!(char) stdout; 
     11    private FormatOutput!(char) stderr; 
    1312    private static int counter = 0; 
    1413 
     
    1615    { 
    1716        auto layout = new Layout!(char) (); 
    18         stdout = new Print!(char) (layout, request.stdout); 
    19         stderr = new Print!(char) (layout, request.stderr); 
     17         
     18        stdout = new FormatOutput!(char) (layout, request.stdout); 
     19        stderr = new FormatOutput!(char) (layout, request.stderr); 
     20 
    2021    } 
    2122