- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Tools/Viewer/Graphics/src/Graphics_main.cpp
r26 r20 18 18 if(argc>2){ 19 19 cout << "error : argument must be a file name or nothing" << endl; 20 cout << "usage : Viewer [file]" << endl;21 20 return 0; 22 21 } 23 22 24 23 Parse *par = new Parse(); 25 24 26 25 27 26 QApplication *a=new QApplication (argc,argv); 28 27 29 if(argc == 2){30 if(par->open_file(argv[1] ,0)==-1){28 if(argc == 2){ 29 if(par->open_file(argv[1])==-1){ 31 30 cout << "file doesn't exist or is not a valid format" << endl; 32 31 exit(1);
Note: See TracChangeset
for help on using the changeset viewer.