aboutsummaryrefslogtreecommitdiffstats
path: root/composer/Evolution-Composer.idl
blob: 5dc62a33172249e98ce26deae0c81e06a8ff0ea1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 * Evolution-Composer.idl: Mail composer interfaces for Evolution
 *
 * Author:
 *   Dan Winship <danw@ximian.com>
 * 
 * (C) 2000 Ximian, Inc.
 */

#include <Bonobo.idl>

module GNOME {
module Evolution {
    
    interface Composer : Bonobo::Unknown {
        struct Recipient {
            string name;    /* UTF-8 */
            string address;
        };
        typedef sequence<Recipient> RecipientList;

        typedef sequence<char> AttachmentData;

        enum MultipartType {
            MIXED,
            ALTERNATIVE
        };

        /**
         * setHeaders:
         * @from: the "From" account or address
         * @to: the "To" recipients
         * @cc: the "CC" recipients
         * @bcc: the "Bcc" recipients
         * @subject: the subject of the message
         *
         * Sets the composer headers. Any of @to, @cc, and
         * @bcc may be an empty list, and @subject may be an
         * empty string. If @from is empty or invalid, the
         * default account will be used. Otherwise is
         * specifies an account name or email address to send
         * from.
         **/
        void setHeaders (in string from, in RecipientList to,
                 in RecipientList cc, 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), setBody()
         * will create the body, and attachMIME() and
         * attachData() will create attachments.
         *
         * If @type is ALTERNATIVE, setBody() 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);

        /**
         * setBody:
         * @body: the body
         * @mime_type: the MIME type of @body
         *
         * Sets the body of the composer to @body. If
         * @mime_type is something other than "text/plain" or
         * "text/html", the composer will not be editable
         * and it will not attempt to assign a non-UTF8
         * character set to the data. However, @mime_type may
         * include parameters in that case.
         **/
        void setBody (in string body, in string mime_type);

        /**
         * attachMIME:
         * @data: the attachment data
         *
         * This adds an attachment to the composer. @data
         * should be a fully-formed MIME body part.
         **/
        exception CouldNotParse {};
        void attachMIME (in string data)
            raises (CouldNotParse);

        /**
         * attachData:
         * @content_type: the Content-Type header
         * @filename: the suggested filename, or ""
         * @description: a description of the data, or ""
         * @show_inline: whether the attachment should be
         * displayed inline or not.
         * @data: the raw attachment data
         *
         * This adds @data as an attachment, using the provided
         * information to generate MIME headers. @content_type
         * may contain just a MIME content type, or it may
         * contain a complete Content-Type header. @filename
         * is a filename for the Content-Disposition header
         * @description (if not "") provides the
         * Content-Description, and @show_inline determines if the
         * Content-Disposition is "inline" or "attachment".
         *
         * If you need to specify headers or values other than
         * what this function can do, you will need to generate
         * all of the MIME headers yourself and use
         * add_attachment ().
         **/
        void attachData (in string content_type,
                 in string filename,
                 in string description,
                 in boolean show_inline,
                 in AttachmentData data);

        /**
         * show:
         *
         * Shows the composer and lets the user edit things
         * and send the message.
         **/
        void show ();


        /**
         * send:
         *
         * Send the message without showing the user the composer
         **/
        void send ();
    };
};
};
.24&id=de6c2c007b2eb2300710586e88d9b1fedb6a203b'>- Remove mail/zmailer, has been broken since last Augustgahr2014-02-1318-670/+0 * - STAGE-cleangahr2014-02-131-2/+1 * - STAGE-cleangahr2014-02-131-16/+14 * - STAGE-cleangahr2014-02-131-6/+3 * Eliminate inclusion of bsd.port.options.mk where PORT_OPTIONS is not tested forehaupt2014-02-131-2/+0 * Now that this port is staged and DOCS defined we can stop testing for DOCS inehaupt2014-02-131-2/+0 * Now that this port is staged and DOCS defined we can stop testing for DOCS inehaupt2014-02-131-2/+0 * - update to 0.23rm2014-02-122-21/+13 * Stage supportantoine2014-02-121-1/+0 * Stage supportantoine2014-02-121-2/+1 * Stage supportantoine2014-02-121-1/+0 * - Stage supportmiwi2014-02-111-9/+4 * Reset maintainer, SMTP servers refuse connectionantoine2014-02-111-1/+1 * - update to version 3_0_3. This should fix runtime.rm2014-02-113-42/+68 * According to the Porter's Handbook (5.12.2.3.) default options must be added toehaupt2014-02-1017-0/+45 * Back to the futurbapt2014-02-107-7/+7 * Mark as deprecated unmaintained ports for which no public distfiles arebapt2014-02-107-0/+21 * Reset maintainership due to mail bouncingbapt2014-02-101-1/+1 * Remove RESTRICTED. This code is now in public domain.rm2014-02-101-3/+1 * - Stage supportmiwi2014-02-101-14/+13 * Horde package updatemm2014-02-104-6/+6 * - do not use easy_install, convert to auto-generated packing listrm2014-02-107-198/+15 * - mark this port deprecated - it's using Yahoo classic mail interface, that'srm2014-02-101-0/+3 * Finish stage supportantoine2014-02-092-5/+8 * - Support STAGEDIRbdrewery2014-02-091-10/+7 * - Support STAGEDIRbdrewery2014-02-091-1/+0 * - Support STAGEDIRbdrewery2014-02-091-9/+6 * - Support STAGEDIRbdrewery2014-02-091-5/+4 * - Support STAGEDIRbdrewery2014-02-091-4/+3 * - Support STAGEDIRbdrewery2014-02-092-12/+15 * - Update to 5.0.0bdrewery2014-02-092-11/+7 * Update to 1.926lth2014-02-092-3/+3 * Mark as jobs unsafe, the port doesn't build in parallel.uqs2014-02-081-1/+2 * Update BUILD_DEPENDS, nss 3.15.4 is required to build firefox-esr andflo2014-02-081-1/+1 * Deprecate ports unmaintained for which distillator is not able to find public...bapt2014-02-081-0/+3 * Remove yet another Netscape related portsbapt2014-02-088-132/+0 * Chase icu bumpmadpilot2014-02-071-0/+1 * Chase boost and icu bumpbapt2014-02-071-1/+1 * Allow to use a newer bdb version.kwm2014-02-071-1/+1 * - Stage supportmiwi2014-02-061-20/+10 * Support stagingehaupt2014-02-062-25/+19 * - Support stagingehaupt2014-02-061-7/+6 * Support staging and use shebangfix.ehaupt2014-02-062-8/+9 * Support staging.ehaupt2014-02-061-1/+0 * Support staging.ehaupt2014-02-062-11/+9 * - Stage supportmiwi2014-02-061-6/+4 * - Stage supportmiwi2014-02-062-5/+4 * - Stage supportmiwi2014-02-061-5/+4 * - Stage supportmiwi2014-02-061-2/+1 * - Stage supportmiwi2014-02-062-14/+7 * mail/pgpsendmail: use <errno.h> header instead of local externmarino2014-02-061-0/+15 * mail/ezmlm: use <errno.h> header instead of local externmarino2014-02-061-0/+11 * mail/wmmaiload: Explicitly link libcrypto (taken from dports)marino2014-02-061-1/+1 * - Stage supportmiwi2014-02-051-10/+5 * Fix when SLANG is selected.thierry2014-02-052-7/+7 * - Update Firefox to 27.0beat2014-02-056-118/+123 * Fix several typos in the ports tree.lme2014-02-053-3/+3 * Finish stage supportantoine2014-02-051-3/+0 * - Enable staging, simplifying the port, especially the PLIST codethierry2014-02-0410-354/+161 * pico-alpine slave is now staged, so move NO_STAGE to a master only partantoine2014-02-041-1/+1 * - Update to version 1.7, add LICENSE [1]pawel2014-02-043-23/+16 * - Update to 0.6.8.vsevolod2014-02-042-4/+4 * - Stage supportmiwi2014-02-031-1/+0 * - Stage supportmiwi2014-02-032-8/+16 * - Stage supportmiwi2014-02-032-6/+2 * - Stage supportmiwi2014-02-033-6/+4 * - Stage supportmiwi2014-02-031-3/+2 * - Stage supportmiwi2014-02-032-3/+2 * - Stage supportmiwi2014-02-031-4/+2 * - Stage supportmiwi2014-02-034-31/+28 * - Stage supportmiwi2014-02-032-3/+2 * - Stage supportmiwi2014-02-033-6/+3 * - Stage supportmiwi2014-02-035-37/+37 * Clean up nmh port.cy2014-02-033-100/+138 * - Stage supportmiwi2014-02-032-2/+1 * - Stage supportmiwi2014-02-033-9/+4 * - Stage supportmiwi2014-02-031-5/+3 * - Stage supportmiwi2014-02-031-4/+2 * - Stage supportmiwi2014-02-033-136/+126 * - Stage supportmiwi2014-02-022-4/+3 * Make portscout skip version 1.1.0. This version does not compile.ehaupt2014-02-021-0/+3 * - Stage supportmiwi2014-02-026-18/+2 * - Fix after stage supportaz2014-02-021-1/+1 * - Fix typosaz2014-02-021-2/+4 * - Update to version 4201az2014-02-022-11/+9 * Return some ports I maintain to the pool.eadler2014-02-021-1/+1 * - Add CRAMMD5 option [1]pawel2014-02-023-33/+29 * Stage supportantoine2014-02-022-3/+1 * - Stage supportmiwi2014-02-012-3/+1 * - Stage supportmiwi2014-02-012-5/+5 * - Stage supportmiwi2014-02-012-10/+8 * Support stagingpawel2014-02-013-25/+23 * Mark broken: Does not compileantoine2014-02-011-0/+2 * Mark broken: Fails to installantoine2014-02-011-0/+2 * - Update to version 0.2.3 [1]pawel2014-01-313-24/+17 * - Stage supportmiwi2014-01-312-3/+1 * - Update mail/dovecot2 to version 2.2.10pawel2014-01-314-5/+5 * Update to 3.6matthew2014-01-312-15/+9 * Fix linking on FreeBSD 10 when GSSAPI=onpawel2014-01-311-0/+1 * Over to new maintainerpawel2014-01-311-1/+1 * Switch from ispell to aspell-ispellbapt2014-01-281-2/+2 * Switch ispell to aspell-ispellbapt2014-01-284-6/+6 * Switch ispell to aspell-ispellbapt2014-01-281-2/+2 * Switch ispell to aspell-ispellbapt2014-01-281-2/+2 * Switch ispell to aspell-ispellbapt2014-01-281-2/+2 * - Keep category Makefiles sortedamdmi32014-01-281-1/+1 * Update to 0.03matthew2014-01-282-5/+5 * Remove mail/pop-before-smtpjadawin2014-01-287-161/+0 * - Stage supportmiwi2014-01-274-4/+0 * - update to 8.14.8dinoex2014-01-272-11/+8 * - Update to latest snapshot 201401241552ashish2014-01-272-4/+4 * - convert to new perl5 frameworkaz2014-01-271-1/+1 * - Update to 0.6.63tota2014-01-262-4/+3 * - Stage supportmiwi2014-01-262-2/+0 * - Enable stagedir supportmva2014-01-261-6/+5 * mail/policyd2: Fix WebUI, add it as an optionmarino2014-01-261-7/+17 * - Stage supportantoine2014-01-262-5/+1 * Respect $CC in subdir as welljohans2014-01-261-0/+10 * - Add missing bison dependency.vsevolod2014-01-241-1/+1 * - Stage Safemiwi2014-01-243-3/+0 * - Update from 3.1.9 to 3.1.10danilo2014-01-242-28/+14 * - Stageifymiwi2014-01-243-3/+0 * - Update to 0.9504sunpoet2014-01-232-5/+9 * Fix properties on pkg-plistbapt2014-01-2246-46/+0 * Put that target back to what it was, unbreak japanese/p5-Mail-SpamAssassin.mat2014-01-221-1/+1 * - Update to 2.9.9sahil2014-01-212-13/+14 * - Update to 2.8.17sahil2014-01-212-13/+14 * - Update to 2.7.16sahil2014-01-212-11/+15 * Repo-copy mail/postfix -> mail/postfix210, and updatesahil2014-01-2113-15/+864 * - Update to Postfix 2.12 Snapshot 20140109sahil2014-01-214-21/+34 * - Update to 20130209.0beat2014-01-212-5/+6 * Support staging.mat2014-01-201-3/+3 * mail/imapsync: update to 1.580wg2014-01-202-3/+3 * Horde package update:mm2014-01-194-6/+6 * - Fix buildmiwi2014-01-195-8/+53 * - Update from 0.6.3 to 0.6.7danilo2014-01-194-20/+12 * Support stagebapt2014-01-181-36/+25 * - Update to 1.6.0.vsevolod2014-01-182-17/+9 * - Reset maintainer due to fatal email bounceszi2014-01-161-1/+1 * - Update to 1.3.3miwi2014-01-152-3/+3 * Update to 0.1.11antoine2014-01-153-4/+4 * Python cleanup:rene2014-01-1420-20/+20 * Update to 1.0.kwm2014-01-131-1/+1 * - Update to 0.1.10antoine2014-01-133-14/+14 * - Upgrade to 2.13.kuriyama2014-01-122-3/+3 * - Update to 0.6.3tabthorpe2014-01-125-20/+71 * - Update to 0.6.7vsevolod2014-01-112-5/+4 * Chase dovecot2 rename in RUN_ and BUILD_DEPENDS.olgeni2014-01-101-2/+2 * Chase dovecot2 rename in RUN_ and BUILD_DEPENDS.olgeni2014-01-101-2/+2 * * Convert to stagingmat2014-01-103-106/+88 * Port to lua 5.2, avoid patching when MAKE_ARGS can do the same jobsbapt2014-01-101-17/+10 * - Reassign to the heap due to mail bouncestabthorpe2014-01-101-1/+1 * Allow packaging as a USERbapt2014-01-101-2/+2 * - Stagify lang/ghc and all the Haskell Cabal portspgj2014-01-104-4/+0 * - Fix a run-time problem with lang/ghc on FreeBSD 10.0 and later, caused bypgj2014-01-104-4/+4 * Fix pkgname collisions.mat2014-01-092-2/+2 * - Chase x11-toolkits/xforms shlib bumpgahr2014-01-081-4/+5 * - state supportaz2014-01-0612-19/+8 * - support stageaz2014-01-0645-106/+54 * - stage supportaz2014-01-0644-81/+48 * - stage supportaz2014-01-0638-77/+45 * - stage supportaz2014-01-052-3/+1 * - support stageaz2014-01-052-4/+2 * Convert the tree to USES=famantoine2014-01-056-12/+6 * - Set USE_GCC=any to fix build on FreeBSD 10 and HEAD.stefan2014-01-041-2/+3 * - reset maintainerjgh2014-01-041-1/+1 * Fix pkg name collisionbapt2014-01-042-2/+2 * - reintroduce DOCS option to user removed in r338576jgh2014-01-041-1/+1 * - update to 3.1.9 which fixes many minor bugsjgh2014-01-042-5/+6 * Part 2 at removing now useless FETCH_ARGS redifitionbapt2014-01-034-5/+0 * - Attempt to fix build on systems without gcc (error was:mandree2014-01-034-11/+25 * - Ruby 1.9 is default, remove conditionalization for itswills2014-01-031-2/+0 * - update to 0.17jgh2014-01-023-23/+25 * Stop using chown in stage part-- upstream's Makefile is keen to ensure ownershipcrees2014-01-023-18/+47 * Remove expired ports:rene2013-12-315-50/+0 * - Update to 1.2204sunpoet2013-12-312-3/+3 * - rename AL2 to APACHE20 in Mk/bsd.licenses.db.mkohauer2013-12-3111-11/+11 * Update LICENSE.ume2013-12-312-2/+2 * Enable stage supportjohans2013-12-303-7/+61 * Enable stage supportjohans2013-12-301-5/+3 * Clean up the Makefile and OPTIONS.crees2013-12-303-116/+130 * Update to 2013/12/29adamw2013-12-302-3/+3 * Update to 2013/12/29.adamw2013-12-293-8/+10 * Stage ports maintained by me in irc java mailcrees2013-12-296-20/+23 * - use STAGEDIRdinoex2013-12-281-11/+3 * mail/py-libgmail: support staging and use auto plistwg2013-12-282-10/+1 * - fix exports/importsdinoex2013-12-2813-127/+217 * Horde package update:mm2013-12-286-9/+9 * Update poppler to 0.24.4.kwm2013-12-281-1/+1 * - Update to 1.5.47vsevolod2013-12-272-5/+5 * - Update to 0.6.6vsevolod2013-12-273-10/+6 * - Support STAGEjadawin2013-12-271-6/+1 * - Marked as deprecated because of no more active development and not working ...jadawin2013-12-271-0/+3 * - Update LICENSEsunpoet2013-12-27