Mercurial > projects > qtd
comparison demos/browser/main.d @ 77:0654fc9bac95
more porting
author | mandel |
---|---|
date | Sun, 24 May 2009 13:46:32 +0000 |
parents | 7bfd46c330dc |
children | 87bb4e622f9e |
comparison
equal
deleted
inserted
replaced
76:454e4b4beb59 | 77:0654fc9bac95 |
---|---|
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 | |
41 module main; | 42 module main; |
42 | 43 |
43 | 44 |
44 import browserapplication; | 45 import browserapplication; |
45 | 46 |
46 | 47 |
47 int main(char[][] args) | 48 int main(string[] args) |
48 { | 49 { |
49 //Q_INIT_RESOURCE(data); | 50 //Q_INIT_RESOURCE(data); |
50 scope application = new BrowserApplication(args); | 51 scope application = new BrowserApplication(args); |
51 if (!application.isTheOnlyBrowser()) | 52 if (!application.isTheOnlyBrowser()) |
52 return 0; | 53 return 0; |