aboutsummaryrefslogtreecommitdiffstats
path: root/composer/Evolution-Composer.idl
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2001-10-31 08:26:58 +0800
committerDan Winship <danw@src.gnome.org>2001-10-31 08:26:58 +0800
commite7157ba8938ac2de32ad3c5f5b73db12ddb772c0 (patch)
tree873ddce80b85f860799ef8b1cfc660ebf6b73a80 /composer/Evolution-Composer.idl
parentc99cd2a0f9cc8f02b397960cbcd4faf05967702d (diff)
downloadgsoc2013-evolution-e7157ba8938ac2de32ad3c5f5b73db12ddb772c0.tar
gsoc2013-evolution-e7157ba8938ac2de32ad3c5f5b73db12ddb772c0.tar.gz
gsoc2013-evolution-e7157ba8938ac2de32ad3c5f5b73db12ddb772c0.tar.bz2
gsoc2013-evolution-e7157ba8938ac2de32ad3c5f5b73db12ddb772c0.tar.lz
gsoc2013-evolution-e7157ba8938ac2de32ad3c5f5b73db12ddb772c0.tar.xz
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.idl26
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
*