diff options
author | Dan Winship <danw@src.gnome.org> | 2001-10-02 03:43:14 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2001-10-02 03:43:14 +0800 |
commit | a9decdd87985fd66f202aa118d5e81d774734420 (patch) | |
tree | ac57f62cfa6f03ff534f3d1d0553299618c09279 /camel/camel-provider.h | |
parent | 6b4869002b3cfac1fa5a6f14f1054aaf29c0ef2e (diff) | |
download | gsoc2013-evolution-a9decdd87985fd66f202aa118d5e81d774734420.tar.gz gsoc2013-evolution-a9decdd87985fd66f202aa118d5e81d774734420.tar.zst gsoc2013-evolution-a9decdd87985fd66f202aa118d5e81d774734420.zip |
Fix up the provider flags to specify things more completely so we don't
* camel-provider.h: Fix up the provider flags to specify things
more completely so we don't have to hardcode provider names in the
mailer.
* providers/local/camel-local-provider.c: MH, mbox, and Maildir
are LOCAL. MH and mbox are no longer STORAGE by the new
definition.
* camel-session.c (vee_provider): The vfolder store is a STORAGE.
svn path=/trunk/; revision=13276
Diffstat (limited to 'camel/camel-provider.h')
-rw-r--r-- | camel/camel-provider.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/camel/camel-provider.h b/camel/camel-provider.h index ee4a98fc9d..c995b29229 100644 --- a/camel/camel-provider.h +++ b/camel/camel-provider.h @@ -48,13 +48,23 @@ typedef enum { extern char *camel_provider_type_name[CAMEL_NUM_PROVIDER_TYPES]; -/* _IS_SOURCE means the user can get mail from there. - * _IS_STORAGE means the user can read mail from there. +/* Provider flags: + * + * _IS_REMOTE the provider works with remote data + * _IS_LOCAL it can be used as a backend for local folder + * tree folders. (*Not* just the opposite of _IS_REMOTE) + * _IS_SOURCE mail arrives there, so it should be offered as an + * option in the mail config dialog. + * _IS_STORAGE mail is stored there. it will appear in the folder tree. + * _IS_EXTERNAL it appears in the folder tree but is not created by + * the mail component. */ #define CAMEL_PROVIDER_IS_REMOTE (1 << 0) -#define CAMEL_PROVIDER_IS_SOURCE (1 << 1) -#define CAMEL_PROVIDER_IS_STORAGE (1 << 2) -#define CAMEL_PROVIDER_SUPPORTS_SSL (1 << 3) +#define CAMEL_PROVIDER_IS_LOCAL (1 << 1) +#define CAMEL_PROVIDER_IS_EXTERNAL (1 << 2) +#define CAMEL_PROVIDER_IS_SOURCE (1 << 3) +#define CAMEL_PROVIDER_IS_STORAGE (1 << 4) +#define CAMEL_PROVIDER_SUPPORTS_SSL (1 << 5) /* Flags for url_flags. "ALLOW" means the config dialog will let |