| 234 | } |
| 235 | |
| 236 | IMAPPart * IMAPPart::attachmentWithIMAPBody1PartText(struct mailimap_body_type_text * text, |
| 237 | struct mailimap_body_ext_1part * extension) |
| 238 | { |
| 239 | IMAPPart * attachment; |
| 240 | |
| 241 | attachment = new IMAPPart(); |
| 242 | attachment->importIMAPFields(text->bd_fields, extension); |
| 243 | attachment->setMimeType(String::stringWithUTF8Format("text/%s", text->bd_media_text)); |
| 244 | |
| 245 | return (IMAPPart *) attachment->autorelease(); |
| 246 | } |
| 247 | |
| 248 | IMAPMultipart * IMAPPart::attachmentWithIMAPBodyMultipart(struct mailimap_body_type_mpart * body_mpart, |
| 249 | String * partID) |
nothing calls this directly
no test coverage detected