* @return Returns the key name of the created outline, or ""if it wasn't created
*/
// bool OutlineModelManager :: createOutline(std::string aName, ContourThing * &theOutline)
- std::string OutlineModelManager :: createOutline(manualContourModel * model, std::vector<int> theInstantData, std::string aName)
+ std::string OutlineModelManager :: createOutline(manualBaseModel * model, std::vector<int> theInstantData, std::string aName)
{
ContourThing * theOutline = new ContourThing ( model );
theOutline->setName(aName);
std::string OutlineModelManager :: createCopyContourOf( std::string anExistingKName, std::vector<int> &instantNoTouchData )
{
- manualContourModel * manModelContour = getOutlineByKeyName( anExistingKName )->getModel()->Clone();
+ manualBaseModel * manModelContour = getOutlineByKeyName( anExistingKName )->getModel()->Clone();
return createOutline( manModelContour, instantNoTouchData );
}
- void OutlineModelManager::SaveThingName( FILE *pFile, std::string nameThing )
+ void OutlineModelManager::SaveThingName( FILE *pFile, FILE *pFileData, std::string nameThing )
{
std::vector< Instant * > *lstInstants;
lstInstants = outlinesEnvironment->getInstantsOfThing( nameThing );
fprintf(pFile,"\n");
ContourThing *contourthing = *outlinesEnvironment->getThingByName(nameThing);
contourthing->getModel()->Save(pFile);
+ contourthing->getModel()->SaveData(pFileData);
}