aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/pas/pas-backend-file.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2001-02-18 11:24:33 +0800
committerChris Toshok <toshok@src.gnome.org>2001-02-18 11:24:33 +0800
commite6d81792c4c7950a5a897211ace6590d4ad458f6 (patch)
tree8e6419caba5dbda8c71fc24177218f23491f1679 /addressbook/backend/pas/pas-backend-file.c
parentec5d0a0fab3c33f68efe32decf6a55f0b174a796 (diff)
downloadgsoc2013-evolution-e6d81792c4c7950a5a897211ace6590d4ad458f6.tar
gsoc2013-evolution-e6d81792c4c7950a5a897211ace6590d4ad458f6.tar.gz
gsoc2013-evolution-e6d81792c4c7950a5a897211ace6590d4ad458f6.tar.bz2
gsoc2013-evolution-e6d81792c4c7950a5a897211ace6590d4ad458f6.tar.lz
gsoc2013-evolution-e6d81792c4c7950a5a897211ace6590d4ad458f6.tar.xz
gsoc2013-evolution-e6d81792c4c7950a5a897211ace6590d4ad458f6.tar.zst
gsoc2013-evolution-e6d81792c4c7950a5a897211ace6590d4ad458f6.zip
add sequence<string> typedef, and add getSupportedFields method.
2001-02-17 Chris Toshok <toshok@ximian.com> * backend/idl/addressbook.idl: add sequence<string> 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
Diffstat (limited to 'addressbook/backend/pas/pas-backend-file.c')
-rw-r--r--addressbook/backend/pas/pas-backend-file.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/addressbook/backend/pas/pas-backend-file.c b/addressbook/backend/pas/pas-backend-file.c
index f9e2c53a2d..94e65c9d81 100644
--- a/addressbook/backend/pas/pas-backend-file.c
+++ b/addressbook/backend/pas/pas-backend-file.c
@@ -1428,6 +1428,15 @@ pas_backend_file_get_static_capabilities (PASBackend *backend)
return g_strdup("local");
}
+static int
+pas_backend_file_get_supported_fields (PASBackend *backend,
+ char ***fields)
+{
+ printf ("in pas_backend_file_get_supported_fields\n");
+ *fields = NULL;
+ return 0;
+}
+
static gboolean
pas_backend_file_construct (PASBackendFile *backend)
{
@@ -1488,6 +1497,7 @@ pas_backend_file_class_init (PASBackendFileClass *klass)
parent_class->add_client = pas_backend_file_add_client;
parent_class->remove_client = pas_backend_file_remove_client;
parent_class->get_static_capabilities = pas_backend_file_get_static_capabilities;
+ parent_class->get_supported_fields = pas_backend_file_get_supported_fields;
object_class->destroy = pas_backend_file_destroy;
}