aboutsummaryrefslogtreecommitdiffstats
path: root/mail/Mailer.idl
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-09-13 23:05:44 +0800
committerDan Winship <danw@src.gnome.org>2002-09-13 23:05:44 +0800
commite2e4b1120cecd53623265d6850ed4693d72233ba (patch)
tree38c331a50b0402afaf614f5c5bf039eede1a8cc2 /mail/Mailer.idl
parentdbe5c76eb0241a143c365f0f2731830e04fe1cc7 (diff)
downloadgsoc2013-evolution-e2e4b1120cecd53623265d6850ed4693d72233ba.tar
gsoc2013-evolution-e2e4b1120cecd53623265d6850ed4693d72233ba.tar.gz
gsoc2013-evolution-e2e4b1120cecd53623265d6850ed4693d72233ba.tar.bz2
gsoc2013-evolution-e2e4b1120cecd53623265d6850ed4693d72233ba.tar.lz
gsoc2013-evolution-e2e4b1120cecd53623265d6850ed4693d72233ba.tar.xz
gsoc2013-evolution-e2e4b1120cecd53623265d6850ed4693d72233ba.tar.zst
gsoc2013-evolution-e2e4b1120cecd53623265d6850ed4693d72233ba.zip
rename this from "Mail.idl" so that the generated .h file won't overwrite
* Mailer.idl: rename this from "Mail.idl" so that the generated .h file won't overwrite "mail.h" on Mac OS X. Remove some never-implemented IDL and add MailConfig_removeAccount. * Makefile.am: Update for IDL rename * mail-config.c: #include Mailer.h, not Mail.h (impl_GNOME_Evolution_MailConfig_removeAccount): Implement. * folder-info.c: #include Mailer.h, not Mail.h * message-list.c: Remove Mail.h include. svn path=/trunk/; revision=18060
Diffstat (limited to 'mail/Mailer.idl')
-rw-r--r--mail/Mailer.idl67
1 files changed, 67 insertions, 0 deletions
diff --git a/mail/Mailer.idl b/mail/Mailer.idl
new file mode 100644
index 0000000000..353d2bae46
--- /dev/null
+++ b/mail/Mailer.idl
@@ -0,0 +1,67 @@
+/*
+ * 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);
+ };
+};
+};
+