| Rev | Author | Line No. | Line |
|---|---|---|---|
| 178 | kaklik | 1 | #include <exception> |
| 2 | #include <iostream> |
||
| 3 | #include <QtGui/QApplication> |
||
| 4 | #include "mandoWindow.hh" |
||
| 5 | |||
| 6 | using namespace std; |
||
| 7 | |||
| 8 | int main( int argc, char *argv[] ) |
||
| 9 | { |
||
| 10 | int retVal = 0; |
||
| 11 | try { |
||
| 12 | |||
| 13 | QApplication app( argc, argv ); |
||
| 14 | MandoWindow window; |
||
| 15 | window.show(); |
||
| 16 | retVal = app.exec(); |
||
| 17 | |||
| 18 | } catch ( exception &e ) { |
||
| 19 | |||
| 20 | cerr << e.what() << endl; |
||
| 21 | retVal = 1; |
||
| 22 | |||
| 23 | |||
| 24 | }; |
||
| 25 | |||
| 26 | return retVal; |
||
| 27 | } |