Changeset 584 in Sophya for trunk/SophyaPI/PIext/pisiadw.cc
- Timestamp:
- Nov 17, 1999, 11:08:41 AM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/pisiadw.cc
r495 r584 211 211 { printf("ObjMgrWind::SetFile Exception= %ld (%s) \n", (long)merr, PeidaExc(merr)); 212 212 ok = false; } ENDTRY; 213 #else 214 try { 215 mPin = new PInPersist(flnm); 216 } 217 catch (IOExc iox) { 218 cerr << "ObjMgrWind::SetFile/Error Exception - Msg= " << iox.Msg() << endl; 219 ok = false; 220 } 221 #endif 213 222 214 223 if (!ok) { mPin = NULL; dap->SetReady(); return; } … … 220 229 return; 221 230 } 222 #endif223 231 if (objlist) delete objlist; 224 232 SetSize(ttx,tty); … … 238 246 objlist->AppendItem(strg, 5000+i); 239 247 } 248 #else 249 string tn; 250 for(i=0; i<mPin->NbTags(); i++) { 251 tn = mPin->GetTagName(i); 252 objlist->AppendItem(tn.c_str(), 5000+i); 253 } 240 254 #endif 241 255
Note:
See TracChangeset
for help on using the changeset viewer.