Mercurial > projects > dwt2
comparison org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet133.d @ 109:8ae65ae167f5
Updated swt win32 for DMD 1.063 and latest Tango trunk.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 15 Sep 2010 16:42:28 +0200 |
parents | 93b0e7382fd5 |
children | 9f4c18c268b2 |
comparison
equal
deleted
inserted
replaced
108:b397a43d66d1 | 109:8ae65ae167f5 |
---|---|
49 org.eclipse.swt.printing.PrinterData; | 49 org.eclipse.swt.printing.PrinterData; |
50 // java | 50 // java |
51 import java.lang.all; | 51 import java.lang.all; |
52 | 52 |
53 // tango | 53 // tango |
54 import tango.core.Thread; | 54 //import tango.core.Thread; |
55 import tango.io.device.File; | 55 import tango.io.device.File; |
56 import tango.text.Unicode; | 56 import tango.text.Unicode; |
57 | 57 |
58 public void | 58 public void |
59 main(String[] args){ | 59 main(String[] args){ |
239 print(printer); | 239 print(printer); |
240 printer.dispose(); | 240 printer.dispose(); |
241 } | 241 } |
242 public | 242 public |
243 this(char[] o_name){ | 243 this(char[] o_name){ |
244 this.name = o_name; | 244 //this.name = o_name; |
245 super(&run); | 245 super(&run); |
246 } | 246 } |
247 }; | 247 }; |
248 printingThread.start(); | 248 printingThread.start(); |
249 } | 249 } |