From Sebastien Grignard, add writing out/reading in of drawable components of

a ShapeDrawable.

From Robert, add versioning of the above change to allow old files to still
work.
This commit is contained in:
Robert Osfield
2004-09-15 19:14:00 +00:00
parent b25c08bca4
commit e68cfd1965
5 changed files with 46 additions and 14 deletions

View File

@@ -74,7 +74,7 @@ DataOutputStream::DataOutputStream(std::ostream * ostream)
if(!_ostream)
throw Exception("DataOutputStream::DataOutputStream(): null pointer exception in argument.");
writeUInt(ENDIAN_TYPE) ;
writeUInt(VERSION);
writeUInt(getVersion());
}
DataOutputStream::~DataOutputStream(){}