Changeset 238:380bad9f6852 for dwt/printing/PrinterData.d
- Timestamp:
- 05/04/08 18:42:55 (4 years ago)
- Files:
-
- dwt/printing/PrinterData.d (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
dwt/printing/PrinterData.d
r150 r238 12 12 *******************************************************************************/ 13 13 module dwt.printing.PrinterData; 14 15 import dwt.dwthelper.utils; 14 16 15 17 … … 47 49 */ 48 50 // TODO: note that this api is not finalized for GTK+ 49 public char[]driver;51 public String driver; 50 52 51 53 /** … … 54 56 * On Mac OSX, X/Window systems, and GTK+, this is the printer's 'name'. 55 57 */ 56 public char[]name;58 public String name; 57 59 58 60 /** … … 90 92 * Note that this field is ignored if printToFile is false. 91 93 */ 92 public char[]fileName;94 public String fileName; 93 95 94 96 /** … … 154 156 * @see #name 155 157 */ 156 public this( char[] driver, char[]name) {158 public this(String driver, String name) { 157 159 this.driver = driver; 158 160 this.name = name; … … 165 167 * @return a string representation of the receiver 166 168 */ 167 public override char[]toString() {169 public override String toString() { 168 170 return Format( "PrinterData {{driver = {}, name = {}}", driver, name ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ 169 171 }
