diff options
author | bertrand <bertrand@helixcode.com> | 2000-01-22 09:35:11 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 2000-01-22 09:35:11 +0800 |
commit | e8a2fed920088141d8ed47c6803bc166b18c5418 (patch) | |
tree | adcebb99ddf323a7c408145556b000b2862ff8d9 /camel/camel-store.h | |
parent | 8fbfb0ae4829f216501380e2f63ed6b4cc1a3306 (diff) | |
download | gsoc2013-evolution-e8a2fed920088141d8ed47c6803bc166b18c5418.tar.gz gsoc2013-evolution-e8a2fed920088141d8ed47c6803bc166b18c5418.tar.zst gsoc2013-evolution-e8a2fed920088141d8ed47c6803bc166b18c5418.zip |
add exception handling everywhere in the store related functions
2000-01-21 bertrand <bertrand@helixcode.com>
* camel/camel-store.c: add exception handling everywhere in
the store related functions arguments.
* camel/providers/mbox/camel-mbox-folder.c: idem
* camel/providers/mbox/camel-mbox-folder.h: idem
* camel/providers/mbox/camel-mbox-store.h: idem
* camel/providers/mbox/Makefile.am (libcamelmbox_la_SOURCES):
added camel-mbox-provider.c to the mbox provider
sources.
svn path=/trunk/; revision=1605
Diffstat (limited to 'camel/camel-store.h')
-rw-r--r-- | camel/camel-store.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h index 71f368e2e2..e78192bed4 100644 --- a/camel/camel-store.h +++ b/camel/camel-store.h @@ -41,6 +41,7 @@ typedef struct _CamelStore CamelStore; #include "camel-folder.h" #include "camel-service.h" #include "camel-session.h" +#include "camel-exception.h" #define CAMEL_STORE_TYPE (camel_store_get_type ()) #define CAMEL_STORE(obj) (GTK_CHECK_CAST((obj), CAMEL_STORE_TYPE, CamelStore)) @@ -62,12 +63,12 @@ struct _CamelStore typedef struct { CamelServiceClass parent_class; - void (*init) (CamelStore *store, CamelSession *session, const gchar *url_name); - void (*set_separator) (CamelStore *store, gchar sep); - gchar (*get_separator) (CamelStore *store); - CamelFolder * (*get_folder) (CamelStore *store, const gchar *folder_name); - CamelFolder * (*get_root_folder) (CamelStore *store); - CamelFolder * (*get_default_folder) (CamelStore *store); + void (*init) (CamelStore *store, CamelSession *session, const gchar *url_name, CamelException *ex); + void (*set_separator) (CamelStore *store, gchar sep, CamelException *ex); + gchar (*get_separator) (CamelStore *store, CamelException *ex); + CamelFolder * (*get_folder) (CamelStore *store, const gchar *folder_name, CamelException *ex); + CamelFolder * (*get_root_folder) (CamelStore *store, CamelException *ex); + CamelFolder * (*get_default_folder) (CamelStore *store, CamelException *ex); } CamelStoreClass; @@ -77,9 +78,9 @@ typedef struct { /* Standard Gtk function */ GtkType camel_store_get_type (void); -void camel_store_init (CamelStore *store, CamelSession *session, const gchar *url_name); -CamelFolder *camel_store_get_folder (CamelStore *store, const gchar *folder_name); -gchar camel_store_get_separator (CamelStore *store); +void camel_store_init (CamelStore *store, CamelSession *session, const gchar *url_name, CamelException *ex); +CamelFolder *camel_store_get_folder (CamelStore *store, const gchar *folder_name, CamelException *ex); +gchar camel_store_get_separator (CamelStore *store, CamelException *ex); #ifdef __cplusplus } |