aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-local.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-19 02:22:58 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-19 02:31:16 +0800
commitae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961 (patch)
tree0e7ad99f50070f6c52d7c4b6e225c3c044afe04c /mail/e-mail-local.h
parent0e7b23b94da808d3935f76aae53ad8a96ac06dd9 (diff)
downloadgsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.gz
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.bz2
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.lz
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.xz
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.tar.zst
gsoc2013-evolution-ae478d1e3cbdf46dd9a34e2d84eddfb37e9dd961.zip
Collect mail enum types in e-mail-enums.h.
And generate GTypes for each of them in e-mail-enumtypes.[ch]. Also, the glib-gen.mak script forced me to add a <mail/e-mail.h> top-level header, which really isn't a bad idea anyway. TODO: We should do this for calendar and addressbook too.
Diffstat (limited to 'mail/e-mail-local.h')
-rw-r--r--mail/e-mail-local.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/mail/e-mail-local.h b/mail/e-mail-local.h
index 125c6451af..bd0442618d 100644
--- a/mail/e-mail-local.h
+++ b/mail/e-mail-local.h
@@ -24,23 +24,11 @@
#include <glib.h>
#include <camel/camel.h>
+#include <mail/e-mail-enums.h>
#include <mail/e-mail-session.h>
G_BEGIN_DECLS
-/* XXX E_MAIL_FOLDER_TEMPLATES is a prime example of why templates
- * should be a core feature: the mailer now has to know about
- * this specific plugin, which defeats the purpose of plugins. */
-typedef enum {
- E_MAIL_FOLDER_INBOX,
- E_MAIL_FOLDER_DRAFTS,
- E_MAIL_FOLDER_OUTBOX,
- E_MAIL_FOLDER_SENT,
- E_MAIL_FOLDER_TEMPLATES,
- E_MAIL_FOLDER_LOCAL_INBOX,
- E_MAIL_NUM_LOCAL_FOLDERS
-} EMailLocalFolder;
-
void e_mail_local_init (EMailSession *session,
const gchar *data_dir);
CamelFolder * e_mail_local_get_folder (EMailLocalFolder type);