diff options
author | Dan Winship <danw@src.gnome.org> | 2003-01-09 04:34:51 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2003-01-09 04:34:51 +0800 |
commit | ac80365c860bc263b183a76a5f035779b60f100f (patch) | |
tree | 9f5c0728c339e6330f07093127b88a31f7740afc /mail/ChangeLog | |
parent | d22be5639fcfeea8dafbf90f3b384aff1797e7fc (diff) | |
download | gsoc2013-evolution-ac80365c860bc263b183a76a5f035779b60f100f.tar gsoc2013-evolution-ac80365c860bc263b183a76a5f035779b60f100f.tar.gz gsoc2013-evolution-ac80365c860bc263b183a76a5f035779b60f100f.tar.bz2 gsoc2013-evolution-ac80365c860bc263b183a76a5f035779b60f100f.tar.lz gsoc2013-evolution-ac80365c860bc263b183a76a5f035779b60f100f.tar.xz gsoc2013-evolution-ac80365c860bc263b183a76a5f035779b60f100f.tar.zst gsoc2013-evolution-ac80365c860bc263b183a76a5f035779b60f100f.zip |
Move PASBook request handling into PASBackend itself since all
existing backends do it exactly the same way. (Part of 32866).
* backend/pas/pas-backend.h (PASBackendClass): add new methods for
the various pas book requests.
* backend/pas/pas-backend.c: Add a clients list to
PASBackendPrivate.
(pas_backend_create_card, etc): Add these to invoke the new
methods.
(process_client_requests, book_destroy_cb): Moved here and
slightly rewritten from pas-backend-file.
(last_client_gone): Now static.
(add_client, remove_client): Default implementations, based on
pas-backend-file, that add the client to/remove it from the
backend's clients list and connect to its requests_queued signal.
(pas_backend_init, pas_backend_dispose): Deal with the clients
list.
* backend/pas/pas-backend-file.c (struct _PASBackendFilePrivate):
Remove GList *clients.
(pas_backend_file_process_client_requests,
pas_backend_file_book_destroy_db, pas_backend_file_add_client,
pas_backend_file_remove_client): Gone.
(pas_backend_file_class_init): Remove add_client/remove_client
method initializations, add initializations for processing the
various book requests.
* backend/pas/pas-backend-ldap.c (struct _PASBackendLDAPPrivate):
Remove GList *clients.
(pas_backend_ldap_process_create_card, etc): Make these take the
specific PAS*Request types rather than a generic PASRequest.
(pas_backend_ldap_process_client_requests,
pas_backend_ldap_book_destroy_db, pas_backend_ldap_add_client,
pas_backend_ldap_remove_client): Gone.
(pas_backend_ldap_class_init): Remove add_client/remove_client
method initializations, add initializations for processing the
various book requests.
svn path=/trunk/; revision=19287
Diffstat (limited to 'mail/ChangeLog')
0 files changed, 0 insertions, 0 deletions