Changeset 374 in Sophya for trunk/SophyaPI
- Timestamp:
- Aug 9, 1999, 4:42:11 PM (26 years ago)
- Location:
- trunk/SophyaPI/PIext
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/nobjmgr.cc
r368 r374 343 343 if ( !CheckDirName(dirname) ) { 344 344 cout << "NamedObjMgr::CleanDir( " << dirname << ") Error - Invalid name !" << endl; 345 return(false);346 345 } 347 346 NObjDirList::iterator itr = myDirs->find(dirname); 348 347 if (itr == myDirs->end()) { 349 348 cout << "NamedObjMgr::CleanDir( " << dirname << ") Error - No such directory !" << endl; 350 return(false);351 349 } 352 350 -
trunk/SophyaPI/PIext/piacmd.cc
r368 r374 448 448 #ifndef __mac__ 449 449 /* On vide le buffer X-Window */ 450 X Flush(PIXDisplay());450 XSync(PIXDisplay(),False); 451 451 #endif 452 452 } -
trunk/SophyaPI/PIext/pistdimgapp.cc
r368 r374 32 32 33 33 #include "piinit.h" 34 #include "piversion.h" 35 #include "piaversion.h" 34 36 35 37 … … 102 104 m[5]->AppendItem("CloseAll", 10601); 103 105 m[5]->AppendCheckItem("Red.Out/Err", 10602); 104 m[5]->AppendCheckItem("Catch SigFPE/SEGV", 10603); 106 m[5]->AppendCheckItem("Catch SigFPE", 10603); 107 m[5]->AppendCheckItem("Catch SigSEGV", 10604); 105 108 106 109 m[6] = new PIMenu(Menubar(),"Modules"); … … 112 115 AppendMenu(m[4]); 113 116 AppendMenu(m[5]); 114 AppendMenu(m[6]); 117 // AppendMenu(m[6]); Menu Modules vide pour le moment 115 118 116 119 int scsx, scsy; … … 142 145 143 146 char buff[128]; 144 sprintf(buff, "piapp V2.0 --- PEIDA++ Version %5.3f \n", (float)PeidaVersion());145 147 mCons->AddStr(" ............ starting piapp .............\n", PIVA_Blue ); 148 sprintf(buff, "Version: piapp=%g PI=%g PEIDA=%g \n", (double)PIAPP_VERSIONNUMBER, 149 (double)PI_VERSIONNUMBER, (float)PeidaVersion()); 146 150 mCons->AddStr(buff, PIVA_Blue ); 147 151 mCons->AddStr(" ..........................................\n", PIVA_Blue ); … … 804 808 805 809 /* --Methode-- */ 806 void PIStdImgApp::CatchSignals(bool fg )810 void PIStdImgApp::CatchSignals(bool fgfpe, bool fgsegv) 807 811 { 808 PeidaConfigureSignalhandling(fg, fg, true, true); 809 m[5]->SetStateMsg(10603, fg); 812 PeidaConfigureSignalhandling(fgfpe, fgsegv, true, true); 813 m[5]->SetStateMsg(10603, fgfpe); 814 m[5]->SetStateMsg(10604, fgsegv); 810 815 } 811 816 … … 1208 1213 break; 1209 1214 case 10603: 1210 CatchSignals(*((bool*)data)); 1215 case 10604: 1216 CatchSignals(m[5]->GetStateMsg(10603), m[5]->GetStateMsg(10604)); 1211 1217 break; 1212 1218 default: -
trunk/SophyaPI/PIext/pistdimgapp.h
r368 r374 93 93 inline bool HasRedirectedStdOutErr() { return(redirecout); } 94 94 // Gestion des signaux 95 void CatchSignals(bool fg =true);95 void CatchSignals(bool fgfpe=true, bool fgsegv=true); 96 96 97 97 // Gestion d attributs graphiques courants
Note:
See TracChangeset
for help on using the changeset viewer.