diff options
author | Chris Toshok <toshok@ximian.com> | 2002-02-21 12:34:28 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-02-21 12:34:28 +0800 |
commit | 9193a985af25894f53f1b01ad68f87e9f5049039 (patch) | |
tree | 59175f1492f3a807a7190cd7058cc1b48939fcdb /addressbook/backend/pas/pas-backend.h | |
parent | 18011729aec7fdb33f94129b5240451ec7d273d0 (diff) | |
download | gsoc2013-evolution-9193a985af25894f53f1b01ad68f87e9f5049039.tar gsoc2013-evolution-9193a985af25894f53f1b01ad68f87e9f5049039.tar.gz gsoc2013-evolution-9193a985af25894f53f1b01ad68f87e9f5049039.tar.bz2 gsoc2013-evolution-9193a985af25894f53f1b01ad68f87e9f5049039.tar.lz gsoc2013-evolution-9193a985af25894f53f1b01ad68f87e9f5049039.tar.xz gsoc2013-evolution-9193a985af25894f53f1b01ad68f87e9f5049039.tar.zst gsoc2013-evolution-9193a985af25894f53f1b01ad68f87e9f5049039.zip |
track change to signature, and (for now) just change all the return
2002-02-20 Chris Toshok <toshok@ximian.com>
* backend/pas/pas-backend-file.c (pas_backend_file_load_uri):
track change to signature, and (for now) just change all the
return FALSE's to _RepositoryOffline (what FALSE used to map to in
pas_book_factory_process_request), and change TRUE to _Success.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_load_uri):
track change to signature, and differentiate between
pas_backend_ldap_connect failing (RepositoryOffline), and
ldap_url_parse failing (OtherError).
* backend/pas/pas-book-factory.c
(pas_book_factory_process_request): since pas_backend_load_uri
returns status now, use it to nodify the BookListener if there's a
failure.
* backend/pas/pas-backend.c (pas_backend_load_uri): track change
to signature.
* backend/pas/pas-backend.h: change return type of
pas_backend_load_uri to
GNOME_Evolution_Addressbook_BookListener_CallStatus to allow
differentiation between failure types.
* backend/ebook/e-book-listener.c
(e_book_listener_convert_status): handle _AUTHENTICATION_FAILED.
* backend/ebook/e-book-types.h (EBookStatus): add
_AUTHENTICATION_FAILED.
svn path=/trunk/; revision=15779
Diffstat (limited to 'addressbook/backend/pas/pas-backend.h')
-rw-r--r-- | addressbook/backend/pas/pas-backend.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/addressbook/backend/pas/pas-backend.h b/addressbook/backend/pas/pas-backend.h index bd9a12c2a0..cdf8f37c30 100644 --- a/addressbook/backend/pas/pas-backend.h +++ b/addressbook/backend/pas/pas-backend.h @@ -40,7 +40,7 @@ typedef struct { GtkObjectClass parent_class; /* Virtual methods */ - gboolean (*load_uri) (PASBackend *backend, const char *uri); + GNOME_Evolution_Addressbook_BookListener_CallStatus (*load_uri) (PASBackend *backend, const char *uri); const char *(* get_uri) (PASBackend *backend); gboolean (*add_client) (PASBackend *backend, GNOME_Evolution_Addressbook_BookListener listener); void (*remove_client) (PASBackend *backend, PASBook *book); @@ -53,7 +53,9 @@ typedef struct { typedef PASBackend * (*PASBackendFactoryFn) (void); gboolean pas_backend_construct (PASBackend *backend); -gboolean pas_backend_load_uri (PASBackend *backend, + +GNOME_Evolution_Addressbook_BookListener_CallStatus + pas_backend_load_uri (PASBackend *backend, const char *uri); const char *pas_backend_get_uri (PASBackend *backend); |