diff options
author | Not Zed <NotZed@Ximian.com> | 2002-06-03 10:56:35 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-06-03 10:56:35 +0800 |
commit | d0a6ed17b65560ed07ed005b38fab449dc507aef (patch) | |
tree | 11288ede158ffadd5a00ac0e3c6f527deb99221c /camel/camel-folder.h | |
parent | aa3bfbe4224ff1c99d358aeac464ce7e9f0963a8 (diff) | |
download | gsoc2013-evolution-d0a6ed17b65560ed07ed005b38fab449dc507aef.tar gsoc2013-evolution-d0a6ed17b65560ed07ed005b38fab449dc507aef.tar.gz gsoc2013-evolution-d0a6ed17b65560ed07ed005b38fab449dc507aef.tar.bz2 gsoc2013-evolution-d0a6ed17b65560ed07ed005b38fab449dc507aef.tar.lz gsoc2013-evolution-d0a6ed17b65560ed07ed005b38fab449dc507aef.tar.xz gsoc2013-evolution-d0a6ed17b65560ed07ed005b38fab449dc507aef.tar.zst gsoc2013-evolution-d0a6ed17b65560ed07ed005b38fab449dc507aef.zip |
setup/free the mech string.
2002-06-02 Not Zed <NotZed@Ximian.com>
* camel-sasl.c (camel_sasl_new):
(camel_sasl_finalize): setup/free the mech string.
* camel-sasl.h: Added 'mech' mechanism string.
2002-06-01 Not Zed <NotZed@Ximian.com>
* providers/imap/camel-imap-folder.c (imap_getv): Implement. Only
the object_description arg.
(camel_imap_folder_get_type): Init parent_class holder.
* providers/local/camel-local-folder.c (local_getv): Implement,
object_description arg.
* camel-folder.c (folder_getv): Implement, add a bunch of args you
can get -> camel_folder_get_unread_count etc will be going RSN i
hope.
(camel_folder_finalize): Free cached description string.
* camel-object.c (cobject_getv): Implement
CAMEL_OBJECT_ARG_DESCRIPTION, just return the classname of the
object.
(camel_object_getv):
(camel_object_get):
(camel_object_setv):
(camel_object_set): Take object = void *, to simplify usage.
(camel_object_setv): Removed unecessary locals.
(camel_object_getv): Same.
(camel_object_free): New method, free an arg, upto implementations
whether args are static/const or not.
(cobject_free): Implement a dummy do nothing free.
2002-05-31 Not Zed <NotZed@Ximian.com>
* camel-vee-folder.c (camel_vee_folder_get_location): new function
to get the real location (folder) (and uid) of a vfolder object.
Using the folderinfo, since we already have it, maybe it should
use the uid.
svn path=/trunk/; revision=17073
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r-- | camel/camel-folder.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h index e437b1d87a..ebaf080457 100644 --- a/camel/camel-folder.h +++ b/camel/camel-folder.h @@ -42,6 +42,30 @@ extern "C" { typedef struct _CamelFolderChangeInfo CamelFolderChangeInfo; +enum { + CAMEL_FOLDER_ARG_FIRST = CAMEL_ARG_FIRST + 0x1000, + CAMEL_FOLDER_ARG_NAME = CAMEL_FOLDER_ARG_FIRST, + CAMEL_FOLDER_ARG_FULL_NAME, + CAMEL_FOLDER_ARG_STORE, + CAMEL_FOLDER_ARG_PERMANENTFLAGS, + CAMEL_FOLDER_ARG_TOTAL, + CAMEL_FOLDER_ARG_UNREAD, + CAMEL_FOLDER_ARG_UID_ARRAY, + CAMEL_FOLDER_ARG_INFO_ARRAY, +}; + +enum { + CAMEL_FOLDER_NAME = CAMEL_FOLDER_ARG_NAME | CAMEL_ARG_STR, + CAMEL_FOLDER_FULL_NAME = CAMEL_FOLDER_ARG_FULL_NAME | CAMEL_ARG_STR, + CAMEL_FOLDER_STORE = CAMEL_FOLDER_ARG_STORE | CAMEL_ARG_OBJ, + CAMEL_FOLDER_PERMANENTFLAGS = CAMEL_FOLDER_ARG_PERMANENTFLAGS | CAMEL_ARG_INT, + CAMEL_FOLDER_TOTAL = CAMEL_FOLDER_ARG_TOTAL | CAMEL_ARG_INT, + CAMEL_FOLDER_UNREAD = CAMEL_FOLDER_ARG_UNREAD | CAMEL_ARG_INT, + /* should we only get static data? not stuff that needs to be free'd? */ + CAMEL_FOLDER_UID_ARRAY = CAMEL_FOLDER_ARG_UID_ARRAY | CAMEL_ARG_PTR, + CAMEL_FOLDER_INFO_ARRAY = CAMEL_FOLDER_ARG_INFO_ARRAY | CAMEL_ARG_PTR, +}; + struct _CamelFolderChangeInfo { GPtrArray *uid_added; GPtrArray *uid_removed; @@ -57,8 +81,11 @@ struct _CamelFolder struct _CamelFolderPrivate *priv; + /* get these via the :get() method, they might not be set otherwise */ char *name; char *full_name; + char *description; + CamelStore *parent_store; CamelFolderSummary *summary; |