aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-provider.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-05-29 05:29:28 +0800
committerDan Winship <danw@src.gnome.org>2000-05-29 05:29:28 +0800
commit28a05ec767c48e1f77eee0064c28fdad3ca9d73c (patch)
tree1a38ff901a6418083f4efe59c962c589b25265de /camel/camel-provider.h
parent2aefb91c92de321b813c5a9d8d9619f670417e08 (diff)
downloadgsoc2013-evolution-28a05ec767c48e1f77eee0064c28fdad3ca9d73c.tar.gz
gsoc2013-evolution-28a05ec767c48e1f77eee0064c28fdad3ca9d73c.tar.zst
gsoc2013-evolution-28a05ec767c48e1f77eee0064c28fdad3ca9d73c.zip
Add a domain field to CamelProvider, to say what kind of data it provides.
* camel-provider.h: Add a domain field to CamelProvider, to say what kind of data it provides. * providers/imap/camel-imap-provider.c: * providers/mbox/camel-mbox-provider.c: * providers/pop3/camel-pop3-provider.c: * providers/sendmail/camel-sendmail-provider.c: * providers/smtp/camel-smtp-provider.c: Set domain to "mail". * providers/nntp/camel-nntp-provider.c: Set domain to "news". * providers/vee/camel-vee-provider.c: Set domain to "vfolder". (So it doesn't end up being listed as a potential mail source in the mail config wizard.) svn path=/trunk/; revision=3254
Diffstat (limited to 'camel/camel-provider.h')
-rw-r--r--camel/camel-provider.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/camel/camel-provider.h b/camel/camel-provider.h
index 463f415d1b..5f3c3d7c26 100644
--- a/camel/camel-provider.h
+++ b/camel/camel-provider.h
@@ -64,6 +64,12 @@ typedef struct {
*/
char *description;
+ /* The category of message that this provider works with.
+ * (evolution-mail will only list a provider in the store/transport
+ * config dialogs if its domain is "mail".)
+ */
+ char *domain;
+
int flags;
GtkType object_types [CAMEL_NUM_PROVIDER_TYPES];