--- a/src/linetypes/metacommand.cpp Tue Sep 21 16:00:15 2021 +0300 +++ b/src/linetypes/metacommand.cpp Wed Sep 22 00:25:13 2021 +0300 @@ -31,3 +31,23 @@ return Type::MetaCommand; } +/** + * @brief @overload ldraw::Object::serialize + * @param stream + * @return stream + */ +QDataStream& ldraw::MetaCommand::serialize(QDataStream& stream) const +{ + return ldraw::Object::serialize(stream) << this->storedText; +} + +/** + * @brief @overload ldraw::Object::deserialize + * @param stream + * @return stream + */ +QDataStream& ldraw::MetaCommand::deserialize(QDataStream& stream) +{ + return ldraw::Object::deserialize(stream) >> this->storedText; +} +