Show
Ignore:
Timestamp:
05/04/08 18:42:55 (4 years ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted char[] to String

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/printing/PrinterData.d

    r150 r238  
    1212 *******************************************************************************/ 
    1313module dwt.printing.PrinterData; 
     14 
     15import dwt.dwthelper.utils; 
    1416 
    1517 
     
    4749     */ 
    4850    // TODO: note that this api is not finalized for GTK+ 
    49     public char[] driver; 
     51    public String driver; 
    5052 
    5153    /** 
     
    5456     * On Mac OSX, X/Window systems, and GTK+, this is the printer's 'name'. 
    5557     */ 
    56     public char[] name; 
     58    public String name; 
    5759 
    5860    /** 
     
    9092     * Note that this field is ignored if printToFile is false. 
    9193     */ 
    92     public char[] fileName; 
     94    public String fileName; 
    9395 
    9496    /** 
     
    154156     * @see #name 
    155157     */ 
    156     public this(char[] driver, char[] name) { 
     158    public this(String driver, String name) { 
    157159        this.driver = driver; 
    158160        this.name = name; 
     
    165167     * @return a string representation of the receiver 
    166168     */ 
    167     public override char[] toString() { 
     169    public override String toString() { 
    168170        return Format( "PrinterData {{driver = {}, name = {}}", driver, name );  //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ 
    169171    }