aboutsummaryrefslogblamecommitdiffstats
path: root/mail/Mailer.idl
blob: 353d2bae46a2d62785b8979a09ecfd7afada5129 (plain) (tree)
1
2
3
4
5
6
7
8
9



                                          
                                        
   
                        

   
                     
 
              

                  










                                                            




                                                
                                        
                                            












                                               




                                          
                                                 



                                                 
                                                    







                                                   
  
  
 
/*
 * 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 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 reply_to;
            string organization;
        };

        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_uri;
            string sent_folder_uri;
        };

        void addAccount (in Account acc);
        void removeAccount (in string name);
    };

    interface MailFilter : Bonobo::Unknown {

        void addFilter (in string rule);

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