diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-06-14 13:10:55 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-06-14 13:10:55 +0800 |
commit | e4b07cd9d139a74d974a484b95f176b5f0d7eb8e (patch) | |
tree | 2e19a561c291c8038b6dae3b27ee6e9ac3a72a2d /camel/camel-folder.h | |
parent | 9f197c605b64fb2ac740df9445897c5d3bb62447 (diff) | |
download | gsoc2013-evolution-e4b07cd9d139a74d974a484b95f176b5f0d7eb8e.tar gsoc2013-evolution-e4b07cd9d139a74d974a484b95f176b5f0d7eb8e.tar.gz gsoc2013-evolution-e4b07cd9d139a74d974a484b95f176b5f0d7eb8e.tar.bz2 gsoc2013-evolution-e4b07cd9d139a74d974a484b95f176b5f0d7eb8e.tar.lz gsoc2013-evolution-e4b07cd9d139a74d974a484b95f176b5f0d7eb8e.tar.xz gsoc2013-evolution-e4b07cd9d139a74d974a484b95f176b5f0d7eb8e.tar.zst gsoc2013-evolution-e4b07cd9d139a74d974a484b95f176b5f0d7eb8e.zip |
Updated: a separator is now a char* rather than a single char because IMAP
2000-06-14 Jeffrey Stedfast <fejj@helixcode.com>
* camel-folder.c (init): Updated: a separator is now a char* rather than
a single char because IMAP can have a string for a directory separator.
Also, since IMAP does not begin with a directory separator, there is a new
argument (path_begins_with_sep) which decides if a directory should begin
with a directory separator.
* providers/imap/camel-imap-store.c (imap_create): Since, on connect,
Camel tries to create INBOX (which already exists on every IMAP provider)
we can return TRUE when the folder name is "INBOX".
* providers/vee/camel-vee-folder.c (vee_init): Updated.
* providers/imap/camel-imap-folder.c (camel_imap_folder_new): Updated.
* providers/mbox/camel-mbox-store.c (get_folder): Updated.
* providers/mbox/camel-mbox-folder.c (mbox_init): Updated.
* providers/pop3/camel-pop3-folder.c (camel_pop3_folder_new): Updated.
svn path=/trunk/; revision=3559
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r-- | camel/camel-folder.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h index 7297f00cc6..b35edc3aa9 100644 --- a/camel/camel-folder.h +++ b/camel/camel-folder.h @@ -61,11 +61,13 @@ struct _CamelFolder CamelFolderState open_state; gchar *name; gchar *full_name; - gchar separator; + gchar *separator; CamelStore *parent_store; CamelFolder *parent_folder; guint32 permanent_flags; + gboolean path_begins_with_sep; + gboolean can_hold_folders:1; gboolean can_hold_messages:1; gboolean has_summary_capability:1; @@ -81,7 +83,8 @@ typedef struct { /* Virtual methods */ void (*init) (CamelFolder *folder, CamelStore *parent_store, CamelFolder *parent_folder, const gchar *name, - gchar separator, CamelException *ex); + gchar *separator, gboolean path_begins_with_sep, + CamelException *ex); void (*open) (CamelFolder *folder, CamelFolderOpenMode mode, @@ -255,7 +258,7 @@ void camel_folder_free_uids (CamelFolder *folder, /* search api */ gboolean camel_folder_has_search_capability (CamelFolder *folder); -GList * camel_folder_search_by_expression(CamelFolder *folder, const char *expression, CamelException *ex); +GList * camel_folder_search_by_expression (CamelFolder *folder, const char *expression, CamelException *ex); /* summary info. FIXME: rename this slightly? */ const CamelMessageInfo *camel_folder_summary_get_by_uid (CamelFolder *summary, |