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 ();
    };
};
};
>The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 formarcus2008-03-247-20/+55 * - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-242-3/+2 * - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-234-7/+5 * - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-221-2/+1 * - Remove USE_GETOPT_LONG which is a no-op since March 2007pav2008-03-202-2/+0 * - Lib updated Fox16.araujo2008-03-191-0/+1 * - Update MASTER_SITESmiwi2008-03-151-2/+1 * - Chase devel/sdl12 shlib version bumpmiwi2008-03-131-1/+1 * - Update enlightenment-devel and EFL libraries to the latest snapshotstas2008-03-124-14/+13 * - Remove useless dependency on XLIBgahr2008-03-111-2/+1 * 2007-10-28 x11-wm/wmDeskGuide: Version branch long since retiredmiwi2008-02-286-269/+0 * My reference e-mail address as a ports maintainer is now gahr@FreeBSD.org.gahr2008-02-221-1/+1 * update xfce4 to 4.4.2oliver2008-02-135-52/+117 * - Update to 2.5.araujo2008-01-263-9/+9 * - Update to 1.04miwi2008-01-213-1467/+2055 * Upgrade to version 2.7.1.olgeni2008-01-132-4/+4 * - Add patch to prevent a crashed when allocate dynamic memory. [1]araujo2008-01-062-3/+18 * Add missing directories to pkg-plist.olgeni2007-12-201-0/+2 * - Mark BROKEN on respective OSVERSION/ARCHS.araujo2007-12-191-1/+7 * - Update to 0.8.1lme2007-12-172-7/+7 * Add missing libglade2 to USE_GNOME.olgeni2007-12-151-1/+1 * - Update to 2.16.1miwi2007-12-153-5/+10 * Upgrade to version 2.7.olgeni2007-12-124-34/+78 * - Fix build with gcc 4.2miwi2007-12-115-7/+164 * - Mark BROKEN on amd64-7pav2007-12-111-0/+4 * - Mark BROKEN on FreeBSD 7.0pav2007-12-111-1/+7 * - Fix build with gcc 4.2miwi2007-12-117-20/+98 * Return to pool: hopefully they will have a chance of being updatedshaun2007-10-281-1/+1 * - Fix a typo in bsd.sites.mk along with all the places it affectedsat2007-10-261-1/+1 * Presenting GNOME 2.20.1 and all related works for FreeBSD. The officialmarcus2007-10-2513-358/+352 * Remove deprecated port (due to the upstream unmaintan anymore).chinsan2007-10-215-73/+0 * - update to 0.8lme2007-10-063-7/+7 * Remove always-false/true conditions based on OSVERSION 500000edwin2007-10-044-30/+6 * - Fix the port after removal of pkg-messagepav2007-09-221-1/+1 * - Mark DEPRECATED for unmaintained upstream.chinsan2007-09-181-0/+3 * Remove no longer needed pkg-message. muCommander is released under GPLv3 now.lme2007-09-082-5/+0 * - Fixed pkg-plist to use correct dirrmtry.araujo2007-08-251-2/+4 * - Update to 1.2.4.araujo2007-08-174-41/+16 * - Remove USE_X_PREFIX (implies USE_XLIB)mm2007-08-161-2/+4 * - Fix build on FreeBSD 5.Xmiwi2007-08-062-0/+12 * 2007-07-31 x11-fm/endeavour: Development ceased, this port should be updated ...miwi2007-08-019-144/+0 * Update to 2.4arved2007-07-313-22/+14 * Update to 1.80.0arved2007-07-308-44/+130 * - Mark broken: fails to compile on 5.X and below.chinsan2007-07-291-1/+7 * - Update to 0.3.5pav2007-07-296-46/+9 * - Chase increase of audio/libvorbis shlib version.miwi2007-07-281-2/+2 * - Set --mandir and --infodir in CONFIGURE_ARGS if the configure scriptrafan2007-07-232-3/+2 * Set removal date at teh end of the month.itetcu2007-07-161-0/+1 * - Update to 2.3pav2007-07-164-48/+44 * Change e-mail address of my ports to my FreeBSD.org one.lme2007-07-131-1/+1 * Unbreak.demon2007-07-051-2/+7 * -Update to 2.18.3.mezz2007-07-043-8/+13 * Upgrade to version 2.6.1.olgeni2007-07-012-4/+4 * muCommander is a lightweight, cross-platform file manager featuringmiwi2007-06-306-0/+73 * - Change my mail address to araujo@.araujo2007-06-301-1/+1 * - Add backup MASTER_SITESmiwi2007-06-071-2/+1 * Add missing files.olgeni2007-06-061-0/+3 * - Fix build with gcc 4.2miwi2007-06-054-2/+28 * - Fix build on FreeBSD 5.X [1]miwi2007-06-041-6/+3 * Port Update: x11-fm/twanderedwin2007-06-032-5/+4 * Add missing files.olgeni2007-06-011-0/+2 * Upgrade to version 0.30.olgeni2007-05-292-5/+4 * Upgrade to version 2.6.olgeni2007-05-292-5/+4 * - Update to 0.3.4miwi2007-05-286-36/+90 * - Chase libexif updatepav2007-05-273-6/+6 * BROKEN with gcc 4.2kris2007-05-272-2/+14 * - Chase libexif updatepav2007-05-253-5/+5 * BROKEN: Does not buildkris2007-05-251-0/+2 * - Welcome X.org 7.2 \o/.flz2007-05-2049-112/+43 * - Fix buildlwhsu2007-04-272-2/+28 * - Update to 2.2miwi2007-04-252-6/+9 * Upgrade to 0.99.shaun2007-04-243-147/+1459 * BROKEN: Does not compilekris2007-04-221-0/+2 * update xfce to 4.4.1oliver2007-04-121-1/+1 * - Update to 2.18.1bland2007-04-113-7/+6 * BROKEN: Does not buildkris2007-04-021-0/+2 * - Update to 0.3.3pav2007-03-242-4/+4 * - bsd.efl.mk is now in ports/Mkpav2007-03-241-1/+0 * - Update to 2.14.4miwi2007-03-233-4/+12 * Reset andrew.nau.ua@gmail.com at his request due to lack of time.linimon2007-03-231-1/+1 * - Update to 2.1pav2007-03-233-18/+10 * Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOMEmarcus2007-03-194-19/+24 * depreciated upstream, should be replaced by endeavour 2; hardcoded X11BASEitetcu2007-03-151-0/+2 * Switch to using new files Mk/bsd.ocaml.mk [1] and Mk/bsd.xfce.mk [2].linimon2007-03-141-2/+0 * - Fixed libimg and tkstep dependenciesmiwi2007-03-131-7/+5 * - Update e17 ports to 20070223 snapshotstas2007-03-114-19/+7 * Reset maintainer due to lack of time to work on FreeBSD at the moment.linimon2007-03-071-1/+1 * Fix PORTNAME, which did not match origin.olgeni2007-03-031-1/+1 * Add dolphin 0.8.2, a file manager for KDE focusing on usability. It is notmarkus2007-02-276-0/+128 * completly disable FAM support when FAM was disabled via the options dialogoliver2007-02-251-2/+2 * Track libxine update.jylefort2007-02-151-2/+2 * - Remove QTDIR from CONFIGURE_ENV, it's in there already thanks to frameworkpav2007-02-132-2/+2 * adjust OPTIONS handlingoliver2007-02-101-7/+7 * - Update to 2.0miwi2007-02-092-9/+13 * fix objformat problem more properlyoliver2007-02-061-1/+2 * fix build (by using libtool:15) with recent CURRENTs where objformat went awayoliver2007-02-041-0/+1 * - Update to 2.14.2miwi2007-02-032-5/+13 * enable the plugins by defaultoliver2007-02-031-4/+4 * enable HAL by defaultoliver2007-01-301-1/+1 * enhance the descriptionoliver2007-01-291-2/+7 * OPTIONify the plugins so they can be choosen to get installed or not.oliver2007-01-252-22/+75 * - Update to 0.3.2miwi2007-01-243-4/+5 * add missing xfce portsoliver2007-01-231-1/+0 * Thunar is a XFce 4 file manager. Features samba network share support.oliver2007-01-237-0/+467 * Import xfce 4.4oliver2007-01-235-435/+0 * - Update to 2.14.1miwi2007-01-133-4/+10 * - Update to 1.2.3rafan2007-01-052-5/+5 * Fix plist and unbreakitetcu2006-12-282-304/+416 * - Update to 3.210miwi2006-12-222-3/+4 * - Update to 1.2.2miwi2006-12-223-6/+8 * Add devel/py-roxlib to RUN_DEPENDS.olgeni2006-12-201-1/+2 * - Update to 0.3.2.2rafan2006-12-192-5/+5 * - Update to 3.204rafan2006-12-172-4/+3 * Add proper gdm detection using code from x11/xfce4.olgeni2006-12-122-1/+14 * Upgrade to version 0.29.olgeni2006-12-128-100/+132 * Sync with libxine shared library version bump.nobutaka2006-12-081-1/+1 * Depreciate since the development ceased long ago; rather that fixing it'sitetcu2006-12-041-1/+3 * - Use features of bsd.wx.mk, especially USE_WXpav2006-12-011-13/+2 * - Update 0.3.1rafan2006-11-223-8/+16 * Update to 2.16.3ahze2006-11-203-30/+4 * - Mark broken on 4.xmiwi2006-11-192-4/+16 * Add a patch fo fix the desktop icons(computer,home,trash)'s position thatmezz2006-11-172-0/+26 * Remove expired ports:vd2006-11-096-341/+0 * fix compilation with dbh 4oliver2006-11-091-2/+5 * Update to 2.16.2ahze2006-11-082-4/+4 * - I forget this patch in previous update.rafan2006-11-071-0/+10 * - Update 0.3.0rafan2006-11-055-14/+18 * - Update to 2.1.2miwi2006-11-053-11/+26 * - Fix building on 5.xstas2006-11-021-0/+12 * Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-144-12/+32 * Presenting GNOME 2.16.1 for FreeBSD. This release represents a massivemarcus2006-10-144-38/+86 * - Connect entropyfm to the build.stas2006-10-081-0/+1 * - Move to LOCALBASEstas2006-10-084-0/+149 * Change the following ports to my FreeBSD.org email.chinsan2006-10-031-1/+1 * - Update to 1.2.0pav2006-09-295-40/+69 * - Update devel/sdl12 to version 1.2.11. Now we employ stock SDL directorystas2006-09-201-1/+1 * BROKEN: Incomplete pkg-plistkris2006-09-171-0/+2 * - Update to 2.14.0miwi2006-09-132-5/+5 * Reset inactive maintainer. Also mark these ports as DEPRECATED since nolinimon2006-09-051-1/+4 * Reset inactive maintainer who has not responded to email.linimon2006-09-052-2/+2 * - Fix build on FreeBSD 5.X and olderpav2006-09-011-0/+6 * - Update to 0.2.ehaupt2006-08-304-22/+18 * - Update to 0.11.56miwi2006-08-283-20/+23 * - Update to 0.3.0.2rafan2006-08-263-8/+9 * - Remove directories that are not in mtree filerafan2006-08-151-0/+2 * - Update to 0.1.8rafan2006-08-104-16/+38 * Upgrade to version 2.5.olgeni2006-08-073-10/+13 * Update to 2.14.3.marcus2006-08-013-5/+5 * - Update to 2.13.1miwi2006-07-222-4/+5 * - Update 1.70.1rafan2006-07-196-8/+10 * Update to 2.13.0miwi2006-06-243-4/+23 * Chase lib version bump in fox14.shaun2006-06-211-0/+1 * Switch to my @FreeBSD.org address.shaun2006-06-202-2/+2 * Do not set CHARSET to iso-8859-1, it is no longer needed.olgeni2006-06-202-6/+1 * - Update to 1.4itetcu2006-06-145-35/+4 * - Rename x11-toolkits/fox -> x11-toolkits/fox10 andsem2006-06-101-1/+1 * - Update to 1.7pav2006-06-104-37/+41 * Fix build on 4.xehaupt2006-05-313-0/+31 * x11-fm/nautilus2 -> x11-fm/nautilusmezz2006-05-299-5/+4 * - Update MASTER_SITES, WWWpav2006-05-272-2/+2 * - Adoptpav2006-05-261-1/+1 * - Update to 1.3.pav2006-05-222-5/+6 * Update the itcl/itk from 3.2 to 3.3 (released in April 2005). Themi2006-05-184-16/+52 * - Fix plist [2]itetcu2006-05-172-32/+32 * Remove USE_REINPLACE from categories starting with Xedwin2006-05-1312-12/+0 * Update of Emelfm2 to version 0.1.7.itetcu2006-05-094-13/+31 * Update to 2.12.0arved2006-05-092-4/+4 * Presenting GNOME 2.14.1 for FreeBSD! Checkoutmarcus2006-04-304-22/+28 * Jaffm is a lightweight wxWindows (GTK+ interface) file manager forpav2006-04-294-0/+56 * Reset petef due to no response to email. We hope to see him back sometime.linimon2006-04-151-1/+1 * - Unbreak on 4.X.jmelo2006-04-111-0/+1