aboutsummaryrefslogtreecommitdiffstats
path: root/mail/Mail.idl
blob: f68889e0c2e74c892ba139aaeb82e9a5bba40751 (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
/*
 * mail.idl: Mail interfaces for Evolution
 *
 * Author:
 *   Miguel de Icaza (miguel@ximian.com)
 * 
 * (C) 2000 Ximian, Inc.
 */

#include <Bonobo.idl>

module GNOME {
module Evolution {
    
    interface MessageList : Bonobo::Unknown {
        
        void selectMessage (in long message_number);
        void openMessage   (in long message_number);
    };
    
    /*
     * FolderBrowser object.
     *
     * configuration of this widget is done trough 
     * Bonobo Properties
     */
    interface FolderBrowser : Bonobo::Unknown {
        MessageList getMessageList ();
    };

    interface FolderInfo : Bonobo::Unknown {
        struct MessageCount {
            string path;
            long count;
            long unread;
        };

        void getInfo (in string foldername,
                  in Bonobo::Listener listener);
    };

    interface MailConfig : Bonobo::Unknown {

        struct Identity {
            string name;
            string address;
            string organization;
            string signature;
            string html_signature;
            boolean has_html_signature;
        };

        struct Service {
            string url;
            boolean keep_on_server;
            boolean auto_check;
            long auto_check_time;
            boolean save_passwd;
            boolean enabled;
        };

        struct Account {
            string name;

            Identity id;
            Service source;
            Service transport;

            string drafts_folder_name;
            string drafts_folder_uri;
            string sent_folder_name;
            string sent_folder_uri;
        };

        void addAccount (in Account acc);
    };

    interface MailFilter : Bonobo::Unknown {

        void addFilter (in string rule);

        void removeFilter (in string rule);
    };
};
};

tle='2013-09-21 01:36:33 +0800'>2013-09-211-2/+2 * Bump PORTREVISION after DESKTOP_ENTRIES updatemakc2013-01-231-0/+1