aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-03 23:37:35 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-03 23:37:35 +0800
commitb9daf0016bc3d7244ced57dd88f63c1fd6debbac (patch)
treee18a41319d59b4243960952410456a97948748d3 /camel/camel-folder.h
parent382308f44a4ab93659f9f54c8dac2c2cc381a471 (diff)
downloadgsoc2013-evolution-b9daf0016bc3d7244ced57dd88f63c1fd6debbac.tar
gsoc2013-evolution-b9daf0016bc3d7244ced57dd88f63c1fd6debbac.tar.gz
gsoc2013-evolution-b9daf0016bc3d7244ced57dd88f63c1fd6debbac.tar.bz2
gsoc2013-evolution-b9daf0016bc3d7244ced57dd88f63c1fd6debbac.tar.lz
gsoc2013-evolution-b9daf0016bc3d7244ced57dd88f63c1fd6debbac.tar.xz
gsoc2013-evolution-b9daf0016bc3d7244ced57dd88f63c1fd6debbac.tar.zst
gsoc2013-evolution-b9daf0016bc3d7244ced57dd88f63c1fd6debbac.zip
new public functions (_set_name): set full_path.
* camel/camel-folder.c (camel_folder_set_name): (camel_folder_get_name): new public functions (_set_name): set full_path. (_set_full_name): (camel_folder_set_full_name): commented out this functions def. It would make things very difficult to handle, and would not be very useful. * camel/providers/MH/camel-mh-store.h: * camel/providers/MH/camel-mh-store.c (camel_mh_store_set_toplevel_dir): (camel_mh_store_get_toplevel_dir): * camel/providers/MH/camel-mh-folder.c (_set_name): * camel/providers/MH/camel-mh-folder.h: use (gchar *) instead of (GString *) everywhere. use const when necessary. * camel/camel-folder.h (struct _CamelFolder): removed unused message_list field. svn path=/trunk/; revision=1072
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 2e6eaf2f85..69a082fe1f 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -59,7 +59,6 @@ struct _CamelFolder
{
GtkObject parent_object;
- GList *message_list;
gboolean can_hold_folders;
gboolean can_hold_messages;
gboolean exists_on_store;
@@ -82,7 +81,7 @@ typedef struct {
void (*open) (CamelFolder *object, CamelFolderOpenMode mode);
void (*close) (CamelFolder *folder, gboolean expunge);
void (*set_name) (CamelFolder *folder, const gchar *name);
- void (*set_full_name) (CamelFolder *folder, const gchar *name);
+/* void (*set_full_name) (CamelFolder *folder, const gchar *name); */
const gchar * (*get_name) (CamelFolder *folder);
const gchar * (*get_full_name) (CamelFolder *folder);
gboolean (*can_hold_folders) (CamelFolder *folder);
@@ -116,7 +115,10 @@ CamelStore *camel_folder_get_parent_store (CamelFolder *folder);
CamelFolderOpenMode camel_folder_get_mode(CamelFolder *folder);
GList *camel_folder_list_subfolders(CamelFolder *folder);
GList *camel_folder_expunge(CamelFolder *folder);
-
+void camel_folder_set_name (CamelFolder *folder, const gchar *name);
+const gchar *camel_folder_get_name (CamelFolder *folder);
+/* void camel_folder_set_full_name (CamelFolder *folder, const gchar *name); */
+const gchar *camel_folder_get_full_name (CamelFolder *folder);
#ifdef __cplusplus