| 261 | static String * htmlForAbstractMultipartAlternative(AbstractMultipart * part, htmlRendererContext * context); |
| 262 | |
| 263 | static String * htmlForAbstractPart(AbstractPart * part, htmlRendererContext * context) |
| 264 | { |
| 265 | switch (part->partType()) { |
| 266 | case PartTypeSingle: |
| 267 | return htmlForAbstractSinglePart((AbstractPart *) part, context); |
| 268 | case PartTypeMessage: |
| 269 | return htmlForAbstractMessagePart((AbstractMessagePart *) part, context); |
| 270 | case PartTypeMultipartMixed: |
| 271 | return htmlForAbstractMultipartMixed((AbstractMultipart *) part, context); |
| 272 | case PartTypeMultipartRelated: |
| 273 | return htmlForAbstractMultipartRelated((AbstractMultipart *) part, context); |
| 274 | case PartTypeMultipartAlternative: |
| 275 | return htmlForAbstractMultipartAlternative((AbstractMultipart *) part, context); |
| 276 | case PartTypeMultipartSigned: |
| 277 | return htmlForAbstractMultipartMixed((AbstractMultipart *) part, context); |
| 278 | default: |
| 279 | MCAssert(0); |
| 280 | } |
| 281 | return NULL; |
| 282 | } |
| 283 | |
| 284 | static String * htmlForAbstractSinglePart(AbstractPart * part, htmlRendererContext * context) |
| 285 | { |
no test coverage detected