Changed get methods to new style ones.

This commit is contained in:
Robert Osfield
2010-01-13 13:30:45 +00:00
parent d891a56e8d
commit 1202b98acc
2 changed files with 4 additions and 12 deletions

View File

@@ -76,14 +76,10 @@ void Sequence::write(DataOutputStream* out)
if (out->getVersion() >= VERSION_0022)
{
// Write sync as an integer
bool sync ;
getSync(sync) ;
out->writeInt((int)sync) ;
out->writeInt((int)getSync()) ;
// Write clearOnStop as an integer
bool clearOnStop ;
getClearOnStop(clearOnStop) ;
out->writeInt((int)clearOnStop) ;
out->writeInt((int)getClearOnStop()) ;
}
}

View File

@@ -229,14 +229,10 @@ bool Sequence_writeLocalData(const Object& obj, Output& fw)
fw.indent() << "mode " << Sequence_getSeqMode(sw.getMode()) << std::endl;
// sync
bool sync ;
sw.getSync(sync);
fw.indent() << "sync " << (int) sync << std::endl;
fw.indent() << "sync " << (int) sw.getSync() << std::endl;
// clearOnStop
bool clearOnStop ;
sw.getClearOnStop(clearOnStop);
fw.indent() << "clearOnStop " << (int) clearOnStop << std::endl;
fw.indent() << "clearOnStop " << (int) sw.getClearOnStop() << std::endl;
return true;
}