Mercurial > projects > qtd
comparison demos/browser/main.d @ 73:7bfd46c330dc
more porting
author | mandel |
---|---|
date | Fri, 22 May 2009 10:59:00 +0000 |
parents | 71b382c10ef6 |
children | 0654fc9bac95 |
comparison
equal
deleted
inserted
replaced
72:b149ef2cb18b | 73:7bfd46c330dc |
---|---|
36 ** If you are unsure which license is appropriate for your use, please | 36 ** If you are unsure which license is appropriate for your use, please |
37 ** contact the sales department at qt-sales@nokia.com. | 37 ** contact the sales department at qt-sales@nokia.com. |
38 ** $QT_END_LICENSE$ | 38 ** $QT_END_LICENSE$ |
39 ** | 39 ** |
40 ****************************************************************************/ | 40 ****************************************************************************/ |
41 module main; | |
42 | |
41 | 43 |
42 import browserapplication; | 44 import browserapplication; |
43 | 45 |
46 | |
44 int main(char[][] args) | 47 int main(char[][] args) |
45 { | 48 { |
46 Q_INIT_RESOURCE(data); | 49 //Q_INIT_RESOURCE(data); |
47 scope application = new BrowserApplication(args); | 50 scope application = new BrowserApplication(args); |
48 if (!application.isTheOnlyBrowser()) | 51 if (!application.isTheOnlyBrowser()) |
49 return 0; | 52 return 0; |
50 application.newMainWindow(); | 53 application.newMainWindow(); |
51 return application.exec(); | 54 return application.exec(); |