diff options
Diffstat (limited to 'composer/Evolution-Composer.idl')
-rw-r--r-- | composer/Evolution-Composer.idl | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/composer/Evolution-Composer.idl b/composer/Evolution-Composer.idl index c15597068a..dcf52b57e1 100644 --- a/composer/Evolution-Composer.idl +++ b/composer/Evolution-Composer.idl @@ -22,6 +22,11 @@ module Evolution { typedef sequence<char> AttachmentData; + enum MultipartType { + MIXED, + ALTERNATIVE + }; + /** * setHeaders: * @to: the "To" recipients @@ -37,6 +42,27 @@ module Evolution { in RecipientList bcc, in string subject); /** + * setMultipartType: + * @type: a multipart subtype + * + * Sets the kind of multipart message that is being + * created. + * + * If @type is MIXED (the default), setBodyText() + * will create the body, and attachMIME() and + * attachData() will create attachments. + * + * If @type is ALTERNATIVE, setBodyText() will create + * text/plain alternative, and each following + * attachMIME() or attachData() call will create + * another alternative. + * + * Other values of @type are not currently supported, + * although "related" probably should be. + **/ + void setMultipartType (in MultipartType type); + + /** * setBodyText: * @body: the body * |