diff options
author | Dan Winship <danw@src.gnome.org> | 2001-10-31 08:26:58 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-10-31 08:26:58 +0800 |
commit | e7157ba8938ac2de32ad3c5f5b73db12ddb772c0 (patch) | |
tree | 873ddce80b85f860799ef8b1cfc660ebf6b73a80 /composer/Evolution-Composer.idl | |
parent | c99cd2a0f9cc8f02b397960cbcd4faf05967702d (diff) | |
download | gsoc2013-evolution-e7157ba8938ac2de32ad3c5f5b73db12ddb772c0.tar.gz gsoc2013-evolution-e7157ba8938ac2de32ad3c5f5b73db12ddb772c0.tar.zst gsoc2013-evolution-e7157ba8938ac2de32ad3c5f5b73db12ddb772c0.zip |
New.
* Evolution-Composer.idl (setMultipartType): New.
* evolution-composer.c (impl_Composer_set_multipart_type): Allow
caller to specify a multipart/alternative rather than
multipart/mixed.
* e-msg-composer.c (build_message): Revert yesterday's changes.
Add new ones for sending multipart/alternative.
svn path=/trunk/; revision=14510
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 * |