From e6d81792c4c7950a5a897211ace6590d4ad458f6 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Sun, 18 Feb 2001 03:24:33 +0000 Subject: add sequence typedef, and add getSupportedFields method. 2001-02-17 Chris Toshok * backend/idl/addressbook.idl: add sequence typedef, and add getSupportedFields method. * backend/pas/pas-book.c (impl_GNOME_Evolution_Addressbook_Book_getSupportedFields): new function. * backend/pas/pas-backend.c (pas_backend_class_init): init get_supported_fields = NULL. (pas_backend_get_supported_fields): new function. * backend/pas/pas-backend.h: add prototype for pas_backend_get_supported_fields. * backend/pas/pas-backend-file.c (pas_backend_file_get_supported_fields): new function. (pas_backend_file_class_init): fill in get_supported_fields. * backend/pas/pas-backend-ldap.c (pas_backend_ldap_get_supported_fields): new function. (pas_backend_ldap_class_init): fill in get_supported_fields. svn path=/trunk/; revision=8270 --- addressbook/backend/idl/addressbook.idl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'addressbook/backend/idl/addressbook.idl') diff --git a/addressbook/backend/idl/addressbook.idl b/addressbook/backend/idl/addressbook.idl index 14d35dc934..87a7992f7b 100644 --- a/addressbook/backend/idl/addressbook.idl +++ b/addressbook/backend/idl/addressbook.idl @@ -15,6 +15,7 @@ module Addressbook { typedef string CardId; typedef string VCard; typedef sequence VCardList; + typedef sequence stringlist; interface CardCursor : Bonobo::Unknown { long count (); @@ -90,6 +91,8 @@ module Addressbook { void checkConnection (); + stringlist getSupportedFields (); + string getStaticCapabilities (); string getName (); @@ -105,6 +108,7 @@ module Addressbook { ProtocolNotSupported, AuthenticationFailed, AuthenticationRequired, + UnsupportedField, OtherError }; -- cgit