aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-28 02:05:43 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-28 02:05:43 +0800
commit10ec882bf12ce134072585b057738dcb9c242846 (patch)
treedf22be7e88ade8fbbe65fd8aceea0da142a152d0 /camel/camel-folder.h
parentea421e8d5838d758418aa3e6fddafe593badb15f (diff)
downloadgsoc2013-evolution-10ec882bf12ce134072585b057738dcb9c242846.tar.gz
gsoc2013-evolution-10ec882bf12ce134072585b057738dcb9c242846.tar.zst
gsoc2013-evolution-10ec882bf12ce134072585b057738dcb9c242846.zip
redesign of the proxy/marshaling code. Uses GtkArg now. sync commit.
* redesign of the proxy/marshaling code. Uses GtkArg now. * sync commit. Evolution does not build at all now. svn path=/trunk/; revision=1260
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index 05becd64b0..7f454d92e5 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -57,7 +57,7 @@ typedef enum {
FOLDER_OPEN_RW = 3 /* folder is read/write */
} CamelFolderOpenMode;
-
+typedef void (*CamelFolderAsyncCallback) ();
struct _CamelFolder
{
@@ -89,7 +89,11 @@ typedef struct {
/* Virtual methods */
void (*init_with_store) (CamelFolder *folder, CamelStore *parent_store, CamelException *ex);
- void (*open) (CamelFolder *object, CamelFolderOpenMode mode, CamelException *ex);
+ void (*open) (CamelFolder *folder,
+ CamelFolderOpenMode mode,
+ CamelFolderAsyncCallback callback,
+ gpointer user_data,
+ CamelException *ex);
void (*close) (CamelFolder *folder, gboolean expunge, CamelException *ex);
void (*set_name) (CamelFolder *folder, const gchar *name, CamelException *ex);
/* void (*set_full_name) (CamelFolder *folder, const gchar *name); */
@@ -128,7 +132,13 @@ GtkType camel_folder_get_type (void);
/* public methods */
CamelFolder *camel_folder_get_folder (CamelFolder *folder, gchar *folder_name, CamelException *ex);
-void camel_folder_open (CamelFolder *folder, CamelFolderOpenMode mod, CamelException *exe);
+
+void camel_folder_open (CamelFolder *folder,
+ CamelFolderOpenMode mode,
+ CamelFolderAsyncCallback callback,
+ gpointer user_data,
+ CamelException *ex);
+
void camel_folder_close (CamelFolder *folder, gboolean expunge, CamelException *ex);
gboolean camel_folder_create (CamelFolder *folder, CamelException *ex);
gboolean camel_folder_delete (CamelFolder *folder, gboolean recurse, CamelException *ex);