source:
XmlTools2/trunk/main.cpp@
1057
Last change on this file since 1057 was 944, checked in by , 11 years ago | |
---|---|
File size: 382 bytes |
Rev | Line | |
---|---|---|
[906] | 1 | #include "main.h" |
2 | ||
3 | int main(int argc, char *argv[]) | |
4 | { | |
5 | ||
6 | QCoreApplication app(argc, argv); | |
7 | ||
[926] | 8 | // Set application parameters |
[906] | 9 | QCoreApplication::setApplicationName(GlobalVars::AppName); |
10 | QCoreApplication::setApplicationVersion(GlobalVars::AppVersion); | |
11 | ||
[926] | 12 | OptionsParser myParser(app.arguments()); |
13 | myParser.parse(); | |
[906] | 14 | |
15 | //app.exec(); | |
[944] | 16 | |
[906] | 17 | return 0; |
18 | } |
Note:
See TracBrowser
for help on using the repository browser.