| 84 | } |
| 85 | |
| 86 | AbstractPart * IMAPPart::attachmentWithIMAPBody(struct mailimap_body * body) |
| 87 | { |
| 88 | String * partID; |
| 89 | AbstractPart * result; |
| 90 | |
| 91 | partID = NULL; |
| 92 | if (body->bd_type == MAILIMAP_BODY_1PART) { |
| 93 | partID = MCSTR("1"); |
| 94 | } |
| 95 | result = attachmentWithIMAPBodyInternal(body, partID); |
| 96 | result->applyUniquePartID(); |
| 97 | |
| 98 | return result; |
| 99 | } |
| 100 | |
| 101 | AbstractPart * IMAPPart::attachmentWithIMAPBodyInternal(struct mailimap_body * body, String * partID) |
| 102 | { |
nothing calls this directly
no test coverage detected