| 148 | } |
| 149 | |
| 150 | void MessageParser::importSerializable(HashMap * serializable) |
| 151 | { |
| 152 | AbstractMessage::importSerializable(serializable); |
| 153 | MC_SAFE_REPLACE_RETAIN(AbstractPart, mMainPart, Object::objectWithSerializable((HashMap *) serializable->objectForKey(MCSTR("mainPart")))); |
| 154 | if (mMainPart != NULL) { |
| 155 | mMainPart->applyUniquePartID(); |
| 156 | } |
| 157 | setupPartID(); |
| 158 | } |
| 159 | |
| 160 | Object * MessageParser::copy() |
| 161 | { |
nothing calls this directly
no test coverage detected