aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2003-01-09 04:34:51 +0800
committerDan Winship <danw@src.gnome.org>2003-01-09 04:34:51 +0800
commitac80365c860bc263b183a76a5f035779b60f100f (patch)
tree9f5c0728c339e6330f07093127b88a31f7740afc /mail/mail-account-gui.h
parentd22be5639fcfeea8dafbf90f3b384aff1797e7fc (diff)
downloadgsoc2013-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/mail-account-gui.h')
0 files changed, 0 insertions, 0 deletions