From 21e60e238477edd1ad157bd17024d5ea6395e048 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 28 Mar 2000 03:52:46 +0000 Subject: Fixed some warnings. 2000-03-27 Christopher James Lahey * addressbook/backend/ebook/test-card.c: Fixed some warnings. * addressbook/backend/ebook/test-client.c: Added a section to test cursors and returning an id when adding. * addressbook/backend/ebook/e-card-pairs.h: Removed the address pairs since they were added to e-card.c. * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h: Made the set_id function take a const char *. * addressbook/backend/ebook/e-book-listener.c, addressbook/backend/ebook/e-book-listener.h, addressbook/backend/ebook/e-book.c, addressbook/backend/ebook/e-book.h, addressbook/backend/idl/addressbook.idl, addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-book.c, addressbook/backend/pas/pas-book.h: Added a get_all_cards function and made the response to the create_card function include the card id. * addressbook/backend/ebook/Makefile.am: Added e-card-cursor.c and e-card-cursor.h. * addressbook/backend/ebook/e-card-cursor.c, addressbook/backend/ebook/e-card-cursor.h: New class for proxying to an Evolution_CardCursor. * addressbook/backend/pas/Makefile.am: Added pas-card-cursor.c and pas-card-cursor.h. * addressbook/backend/pas/pas-card-cursor.c, addressbook/backend/pas/pas-card-cursor.h: New bonobo class for making an Evolution_CardCursor server. svn path=/trunk/; revision=2205 --- addressbook/backend/idl/addressbook.idl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'addressbook/backend/idl') diff --git a/addressbook/backend/idl/addressbook.idl b/addressbook/backend/idl/addressbook.idl index 076216c9cf..5fd0dbbf2e 100644 --- a/addressbook/backend/idl/addressbook.idl +++ b/addressbook/backend/idl/addressbook.idl @@ -1,3 +1,4 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * * Author: @@ -12,7 +13,7 @@ module Evolution { typedef string CardId; - interface CardCursor { + interface CardCursor : Bonobo::Unknown { long get_length (); string get_nth (in long n); }; @@ -34,6 +35,8 @@ module Evolution { */ void modify_card (in string vcard); + void get_all_cards (); + void check_connection (); string get_name (); @@ -48,7 +51,7 @@ module Evolution { CardNotFound }; - void respond_create_card (in CallStatus status); + void respond_create_card (in CallStatus status, in CardId Id); void respond_remove_card (in CallStatus status); @@ -58,6 +61,8 @@ module Evolution { void respond_open_book (in CallStatus status, in Book book); + void respond_get_cursor (in CallStatus status, in CardCursor cursor); + /** * report_connection_status: * -- cgit