aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-05-01 22:04:18 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-05-01 22:04:18 +0800
commit4e1dac9940f51879a92cbca1f14914f10cb9d8ba (patch)
tree959c4b9d0535cbb19647f527ad77d6ea8c890a89 /camel/camel-folder.h
parentc24e7b0058a23203a2de15d88602691451566a00 (diff)
downloadgsoc2013-evolution-4e1dac9940f51879a92cbca1f14914f10cb9d8ba.tar.gz
gsoc2013-evolution-4e1dac9940f51879a92cbca1f14914f10cb9d8ba.tar.zst
gsoc2013-evolution-4e1dac9940f51879a92cbca1f14914f10cb9d8ba.zip
new methods
1999-05-01 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-folder.c (__camel_folder_get_mode): (camel_folder_get_mode): (camel_folder_get_parent_store): (__camel_folder_get_parent_store): (camel_folder_get_parent_folder): (__camel_folder_get_parent_folder): new methods * camel/camel-service.c: put __ prefix before private virtual funcs. svn path=/trunk/; revision=886
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 9df16156e4..b6ca20074d 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -79,7 +79,7 @@ typedef struct {
/* Virtual methods */
void (*init_with_store) (CamelFolder *folder, CamelStore *parent_store);
- void (*open) (CamelFolder *object);
+ void (*open) (CamelFolder *object, CamelFolderOpenMode mode);
void (*close) (CamelFolder *folder, gboolean expunge);
void (*set_name) (CamelFolder *folder, GString *name);
void (*set_full_name) (CamelFolder *folder, GString *name);
@@ -93,6 +93,10 @@ typedef struct {
gboolean (*create) (CamelFolder *folder);
gboolean (*delete) (CamelFolder *folder, gboolean recurse);
gboolean (*delete_messages) (CamelFolder *folder);
+ CamelFolder * (*get_parent_folder) (CamelFolder *folder);
+ CamelStore * (*get_parent_store) (CamelFolder *folder);
+ CamelFolderOpenMode (*get_mode) (CamelFolder *folder);
+
} CamelFolderClass;
@@ -105,6 +109,9 @@ GtkType camel_folder_get_type (void);
gboolean camel_folder_create(CamelFolder *folder);
gboolean camel_folder_delete (CamelFolder *folder, gboolean recurse);
gboolean camel_folder_delete_messages (CamelFolder *folder);
+CamelFolder *camel_folder_get_parent_folder (CamelFolder *folder);
+CamelStore *camel_folder_get_parent_store (CamelFolder *folder);
+CamelFolderOpenMode camel_folder_get_mode(CamelFolder *folder);