static void e_book_backend_vcf_class_init (EBookBackendVCFClass *klass) { GObjectClass *object_class = G_OBJECT_CLASS (klass); EBookBackendSyncClass *sync_class; EBookBackendClass *backend_class; sync_class = E_BOOK_BACKEND_SYNC_CLASS (klass); backend_class = E_BOOK_BACKEND_CLASS (klass); /* Set the virtual methods. */ backend_class->load_source = e_book_backend_vcf_load_source; backend_class->get_static_capabilities = e_book_backend_vcf_get_static_capabilities; backend_class->start_book_view = e_book_backend_vcf_start_book_view; backend_class->stop_book_view = e_book_backend_vcf_stop_book_view; backend_class->cancel_operation = e_book_backend_vcf_cancel_operation; backend_class->set_mode = e_book_backend_vcf_set_mode; sync_class->create_contact_sync = e_book_backend_vcf_create_contact; sync_class->remove_contacts_sync = e_book_backend_vcf_remove_contacts; sync_class->modify_contact_sync = e_book_backend_vcf_modify_contact; sync_class->get_contact_sync = e_book_backend_vcf_get_contact; sync_class->get_contact_list_sync = e_book_backend_vcf_get_contact_list; sync_class->authenticate_user_sync = e_book_backend_vcf_authenticate_user; sync_class->get_required_fields_sync = e_book_backend_vcf_get_required_fields; sync_class->get_supported_fields_sync = e_book_backend_vcf_get_supported_fields; object_class->dispose = e_book_backend_vcf_dispose; }
static void e_book_backend_scalix_class_init (EBookBackendScalixClass * klass) { GObjectClass *object_class; EBookBackendSyncClass *sync_class; EBookBackendClass *backend_class; e_book_backend_scalix_parent_class = g_type_class_peek_parent (klass); g_type_class_add_private (klass, sizeof (EBookBackendScalixPrivate)); object_class = G_OBJECT_CLASS (klass); backend_class = E_BOOK_BACKEND_CLASS (klass); sync_class = E_BOOK_BACKEND_SYNC_CLASS (klass); /* Set the virtual methods. */ object_class->dispose = e_book_backend_scalix_dispose; backend_class->load_source = e_book_backend_scalix_load_source; backend_class->get_static_capabilities = e_book_backend_scalix_get_static_capabilities; backend_class->start_book_view = e_book_backend_scalix_start_book_view; backend_class->stop_book_view = e_book_backend_scalix_stop_book_view; backend_class->set_mode = e_book_backend_scalix_set_mode; sync_class->remove_sync = e_book_backend_scalix_remove; sync_class->authenticate_user_sync = e_book_backend_scalix_authenticate_user; sync_class->create_contact_sync = e_book_backend_scalix_create_contact; sync_class->get_contact_list_sync = e_book_backend_scalix_get_contact_list; sync_class->get_supported_fields_sync = e_book_backend_scalix_get_supported_fields; sync_class->remove_contacts_sync = e_book_backend_scalix_remove_contacts; sync_class->modify_contact_sync = e_book_backend_scalix_modify_contact; sync_class->get_contact_sync = e_book_backend_scalix_get_contact; sync_class->get_supported_auth_methods_sync = e_book_backend_scalix_get_supported_auth_methods; sync_class->get_required_fields_sync = e_book_backend_scalix_get_required_fields; #if 0 parent_class->get_changes = e_book_backend_scalix_get_changes; #endif }