file.cpp

changeset 38
20f5eaae8425
parent 32
5d22b7ecf110
child 39
110669124caf
equal deleted inserted replaced
37:a413d389b634 38:20f5eaae8425
384 // the file could not be opened. Circumstances may be different now. 384 // the file could not be opened. Circumstances may be different now.
385 if (obj->getType() == OBJ_Gibberish) 385 if (obj->getType() == OBJ_Gibberish)
386 obj->replace (parseLine (static_cast<LDGibberish*> (obj)->zContents)); 386 obj->replace (parseLine (static_cast<LDGibberish*> (obj)->zContents));
387 } 387 }
388 } 388 }
389
390 // =============================================================================
391 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
392 // =============================================================================
393 void OpenFile::addObject (LDObject* obj) {
394 const ulong ulSpot = g_qWindow->getInsertionPoint ();
395 objects.insert (objects.begin() + ulSpot, obj);
396 }

mercurial