75 lines
1.2 KiB
Plaintext
75 lines
1.2 KiB
Plaintext
/*
|
|
* mail.idl: Mail interfaces for Evolution
|
|
*
|
|
* Author:
|
|
* Miguel de Icaza (miguel@helixcode.com)
|
|
*
|
|
* (C) 2000 Helix Code, 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 MailConfig : Bonobo::Unknown {
|
|
|
|
struct Identity {
|
|
string name;
|
|
string address;
|
|
string organization;
|
|
string 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;
|
|
boolean default_account;
|
|
|
|
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);
|
|
};
|
|
};
|
|
};
|
|
|