source:
ogBrowser-Git/src/main.cpp
@
0b5cc5a
Last change on this file since 0b5cc5a was 8ab4781, checked in by , 15 years ago | |
---|---|
|
|
File size: 303 bytes |
Line | |
---|---|
1 | #include <QtGui/QApplication> |
2 | #include <stdio.h> |
3 | #include "mainwindow.h" |
4 | |
5 | int main(int argc, char *argv[]) |
6 | { |
7 | if(argc<=1) |
8 | { |
9 | printf("Usage: %s http://siteweb.com/\n",argv[0]); |
10 | return -1; |
11 | } |
12 | |
13 | QApplication a(argc, argv); |
14 | MainWindow w; |
15 | w.show(); |
16 | return a.exec(); |
17 | } |
Note: See TracBrowser
for help on using the repository browser.